AP_NavEKF2: added get_enable()

This commit is contained in:
Andrew Tridgell 2022-12-18 07:41:11 +11:00
parent f53c865c7a
commit fadb9007d0
1 changed files with 3 additions and 0 deletions

View File

@ -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
* *