AP_Vehicle: implement has_ekf_failsafed for use by lua

This commit is contained in:
Randy Mackay 2022-04-23 11:18:58 +09:00
parent 23ad8b23ac
commit 21ee06d362

View File

@ -228,6 +228,8 @@ public:
// allow for VTOL velocity matching of a target
virtual bool set_velocity_match(const Vector2f &velocity) { return false; }
// returns true if the EKF failsafe has triggered
virtual bool has_ekf_failsafed() const { return false; }
// control outputs enumeration
enum class ControlOutput {