5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-09 09:28:31 -04:00

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

View File

@ -267,6 +267,9 @@ public:
// allow the enable flag to be set by Replay // allow the enable flag to be set by Replay
void set_enable(bool enable) { _enable.set(enable); } 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: private:
uint8_t num_cores; // number of allocated cores uint8_t num_cores; // number of allocated cores