mirror of https://github.com/ArduPilot/ardupilot
AP_NavEKF2: added get_enable()
This commit is contained in:
parent
f53c865c7a
commit
fadb9007d0
|
@ -244,6 +244,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(enable); }
|
void set_enable(bool enable) { _enable.set_enable(enable); }
|
||||||
|
|
||||||
|
// get the enable parameter
|
||||||
|
bool get_enable(void) const { return bool(_enable.get()); }
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Write position and quaternion data from an external navigation system
|
* Write position and quaternion data from an external navigation system
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue