AP_AHRS: move using_EKF to .cpp to make it easier in gdb
This commit is contained in:
parent
eedd88c2ec
commit
be33a9634e
@ -227,4 +227,10 @@ bool AP_AHRS_NavEKF::get_relative_position_NED(Vector3f &vec) const
|
||||
return false;
|
||||
}
|
||||
|
||||
bool AP_AHRS_NavEKF::using_EKF(void) const
|
||||
{
|
||||
return ekf_started && _ekf_use && EKF.healthy();
|
||||
}
|
||||
|
||||
#endif // AP_AHRS_NAVEKF_AVAILABLE
|
||||
|
||||
|
@ -95,7 +95,7 @@ public:
|
||||
void set_ekf_use(bool setting) { _ekf_use.set(setting); }
|
||||
|
||||
private:
|
||||
bool using_EKF(void) const { return ekf_started && _ekf_use && EKF.healthy(); }
|
||||
bool using_EKF(void) const;
|
||||
|
||||
NavEKF EKF;
|
||||
AP_Baro &_baro;
|
||||
|
Loading…
Reference in New Issue
Block a user