mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58: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_relative_position_NED(void);
|
||||
|
||||
void set_ekf_use(bool setting) { _ekf_use.set(setting); }
|
||||
|
||||
private:
|
||||
bool using_EKF(void) const { return ekf_started && _ekf_use && EKF.healthy(); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user