From 000ff90a719a554bbf7fe133756dbe1baa6dcff1 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sat, 13 Mar 2021 13:51:35 +1100 Subject: [PATCH] autotest: remove thrust-to-actuator to armed section --- ArduPlane/tailsitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/tailsitter.cpp b/ArduPlane/tailsitter.cpp index 8fc706a203..0af0fd50a5 100644 --- a/ArduPlane/tailsitter.cpp +++ b/ArduPlane/tailsitter.cpp @@ -167,9 +167,9 @@ void QuadPlane::tailsitter_output(void) SRV_Channels::set_output_scaled(SRV_Channel::k_aileron, (motors->get_yaw())*-SERVO_MAX); SRV_Channels::set_output_scaled(SRV_Channel::k_elevator, (motors->get_pitch())*SERVO_MAX); SRV_Channels::set_output_scaled(SRV_Channel::k_rudder, (motors->get_roll())*SERVO_MAX); - SRV_Channels::set_output_scaled(SRV_Channel::k_throttle, motors->thrust_to_actuator(motors->get_throttle()) * 100); if (hal.util->get_soft_armed()) { + SRV_Channels::set_output_scaled(SRV_Channel::k_throttle, motors->thrust_to_actuator(motors->get_throttle()) * 100); // scale surfaces for throttle tailsitter_speed_scaling(); }