AP_NavEKF2: added have_ekf_logging()

This commit is contained in:
Andrew Tridgell 2016-05-05 09:24:04 +10:00
parent b7ba0fa458
commit 4e4c575f16
1 changed files with 3 additions and 0 deletions

View File

@ -267,6 +267,9 @@ public:
// allow the enable flag to be set by Replay
void set_enable(bool enable) { _enable.set(enable); }
// are we doing sensor logging inside the EKF?
bool have_ekf_logging(void) const { return _enable_logging != 0; }
private:
uint8_t num_cores; // number of allocated cores