From d20b86b95ead2b05fe306b4b48c1b67eb92530fe Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 27 Oct 2015 10:36:25 +1100 Subject: [PATCH] Plane: suppress the throttle in auto-throttle modes after parachute release --- ArduPlane/Attitude.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ArduPlane/Attitude.cpp b/ArduPlane/Attitude.cpp index ed64ed056e..7bad7ebe7e 100644 --- a/ArduPlane/Attitude.cpp +++ b/ArduPlane/Attitude.cpp @@ -558,6 +558,12 @@ void Plane::flap_slew_limit(int8_t &last_value, int8_t &new_value) */ bool Plane::suppress_throttle(void) { + if (auto_throttle_mode && parachute.released()) { + // throttle always suppressed in auto-throttle modes after parachute release + throttle_suppressed = true; + return true; + } + if (!throttle_suppressed) { // we've previously met a condition for unsupressing the throttle return false;