From 328541769d59348dc69459c4221d17fbfe2954be Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 10 Apr 2017 12:50:45 +1000 Subject: [PATCH] AP_Motors: allow control surfaces to move disarmed allow tailsitter control surfaces to move in Q modes when shutdown --- libraries/AP_Motors/AP_MotorsTailsitter.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libraries/AP_Motors/AP_MotorsTailsitter.cpp b/libraries/AP_Motors/AP_MotorsTailsitter.cpp index 430a93e619..d6d0067c58 100644 --- a/libraries/AP_Motors/AP_MotorsTailsitter.cpp +++ b/libraries/AP_Motors/AP_MotorsTailsitter.cpp @@ -42,16 +42,10 @@ void AP_MotorsTailsitter::output_to_motors() } switch (_spool_mode) { case SHUT_DOWN: - _aileron = 0; - _elevator = 0; - _rudder = 0; _throttle = 0; break; case SPIN_WHEN_ARMED: // sends output to motors when armed but not flying - _aileron = 0; - _elevator = 0; - _rudder = 0; _throttle = constrain_float(_spin_up_ratio, 0.0f, 1.0f) * _spin_min; break; case SPOOL_UP: