Plane: set tailsitter throttle output when disarmed

This commit is contained in:
Peter Barker 2021-03-15 13:36:14 +11:00 committed by Andrew Tridgell
parent 000ff90a71
commit 0b35708f33

View File

@ -172,6 +172,8 @@ void QuadPlane::tailsitter_output(void)
SRV_Channels::set_output_scaled(SRV_Channel::k_throttle, motors->thrust_to_actuator(motors->get_throttle()) * 100);
// scale surfaces for throttle
tailsitter_speed_scaling();
} else {
SRV_Channels::set_output_scaled(SRV_Channel::k_throttle, motors->get_throttle() * 100);
}
tilt_left = 0.0f;