From 913d1b81b22ad43dcc880aa800bad6dd56678094 Mon Sep 17 00:00:00 2001 From: Hwurzburg Date: Wed, 30 Dec 2020 11:29:03 -0600 Subject: [PATCH] Plane: correct bug that prevents QACRO rudder disarm --- ArduPlane/mode.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ArduPlane/mode.h b/ArduPlane/mode.h index 5115f85073..4b07aa4dd2 100644 --- a/ArduPlane/mode.h +++ b/ArduPlane/mode.h @@ -476,6 +476,7 @@ public: bool is_vtol_mode() const override { return true; } bool is_vtol_man_throttle() const override { return true; } + virtual bool is_vtol_man_mode() const override { return true; } // methods that affect movement of the vehicle in this mode void update() override; @@ -522,7 +523,7 @@ public: // var_info for holding parameter information static const struct AP_Param::GroupInfo var_info[]; - + protected: AP_Int16 target_alt; AP_Int16 target_dist;