AP_NavEKF2: added enabled() function

This commit is contained in:
Andrew Tridgell 2015-09-23 12:09:26 +10:00
parent b71678b901
commit 760dafbb9d
1 changed files with 3 additions and 0 deletions

View File

@ -43,6 +43,9 @@ public:
NavEKF2(const AP_AHRS *ahrs, AP_Baro &baro, const RangeFinder &rng);
// allow logging to determine if enabled
bool enabled(void) const { return _enable != 0; }
// Initialise the filter
bool InitialiseFilter(void);