mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-25 10:08:28 -04:00
AP_AHRS: added set_ekf_use()
This commit is contained in:
parent
a112694a50
commit
a74fcc5a93
@ -90,6 +90,8 @@ public:
|
|||||||
Vector3f get_velocity_NED(void);
|
Vector3f get_velocity_NED(void);
|
||||||
Vector3f get_relative_position_NED(void);
|
Vector3f get_relative_position_NED(void);
|
||||||
|
|
||||||
|
void set_ekf_use(bool setting) { _ekf_use.set(setting); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool using_EKF(void) const { return ekf_started && _ekf_use && EKF.healthy(); }
|
bool using_EKF(void) const { return ekf_started && _ekf_use && EKF.healthy(); }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user