AP_NavEKF2: added set_enable() API
This commit is contained in:
parent
ba8e63d8e7
commit
fe76662faf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user