Browse Source

AP_NavEKF: Publish enabled status

master
Paul Riseborough 9 years ago committed by Andrew Tridgell
parent
commit
624f169b9b
  1. 5
      libraries/AP_NavEKF/AP_NavEKF.h

5
libraries/AP_NavEKF/AP_NavEKF.h

@ -56,6 +56,11 @@ public: @@ -56,6 +56,11 @@ public:
// Constructor
NavEKF(const AP_AHRS *ahrs, AP_Baro &baro, const RangeFinder &rng);
// allow logging to determine if the EKF is enabled
bool enabled(void) const {
return (_enable != 0);
}
// This function is used to initialise the filter whilst moving, using the AHRS DCM solution
// It should NOT be used to re-initialise after a timeout as DCM will also be corrupted
bool InitialiseFilterDynamic(void);

Loading…
Cancel
Save