AP_NavEKF2: added set_enable() API

This commit is contained in:
Andrew Tridgell 2015-09-23 18:55:12 +10:00
parent ba8e63d8e7
commit fe76662faf

View File

@ -225,6 +225,9 @@ public:
// this function should not have more than one client
bool getLastYawResetAngle(float &yawAng);
// allow the enable flag to be set by Replay
void set_enable(bool enable) { _enable.set(enable); }
private:
NavEKF2_core *core = nullptr;
const AP_AHRS *_ahrs;