From 5fd78d08ef97b9b5c2aba65c29c81583c3bcfd81 Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Sat, 4 Apr 2026 22:30:33 +0100 Subject: [PATCH] Plane: Tailsitter: ensure all none-masked motors are shutdown in forward flight --- ArduPlane/tailsitter.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ArduPlane/tailsitter.cpp b/ArduPlane/tailsitter.cpp index 2ad39c4f1be..55030d5ea2c 100644 --- a/ArduPlane/tailsitter.cpp +++ b/ArduPlane/tailsitter.cpp @@ -342,7 +342,10 @@ void Tailsitter::output(void) if (!quadplane.assisted_flight) { // set AP_MotorsMatrix throttles for forward flight - motors->output_motor_mask(throttle, uint32_t(motor_mask.get()), plane.rudder_dt); + // Output throttle to masked motors and zero all others + const uint32_t mask = uint32_t(motor_mask.get()); + motors->output_motor_mask(0.0, ~mask, 0.0); + motors->output_motor_mask(throttle, mask, plane.rudder_dt); // No tilt output unless forward gain is set float tilt_left = 0.0;