From ed4345cb3ba4728c3caaa22bc9d912d7765b85d3 Mon Sep 17 00:00:00 2001 From: Peter Hall Date: Mon, 2 Aug 2021 21:14:28 +0100 Subject: [PATCH] Quadplane: tailsitter: provide assistance at min throttle --- ArduPlane/quadplane.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ArduPlane/quadplane.cpp b/ArduPlane/quadplane.cpp index 93538273e1..e6ef81b24b 100644 --- a/ArduPlane/quadplane.cpp +++ b/ArduPlane/quadplane.cpp @@ -1636,10 +1636,11 @@ bool QuadPlane::should_assist(float aspeed, bool have_airspeed) return false; } - if (!( (plane.control_mode->does_auto_throttle() && !plane.throttle_suppressed) + if (!tailsitter.enabled() && !( (plane.control_mode->does_auto_throttle() && !plane.throttle_suppressed) || plane.get_throttle_input()>0 || plane.is_flying() ) ) { // not in a flight mode and condition where it would be safe to turn on vertial lift motors + // skip this check for tailsitters because the forward and vertial motors are the same and are controled directly by throttle imput unlike other quadplanes in_angle_assist = false; angle_error_start_ms = 0; return false;