Plane: Quadplane tailsit transition to FW throttle level change

This commit is contained in:
Henry Wurzburg 2020-04-15 18:39:05 -05:00 committed by Andrew Tridgell
parent 6c730ccfec
commit 3397bce235
1 changed files with 2 additions and 1 deletions

View File

@ -1711,7 +1711,8 @@ void QuadPlane::update_transition(void)
attitude_control->input_euler_angle_roll_pitch_euler_rate_yaw(plane.nav_roll_cd,
plane.nav_pitch_cd,
0);
attitude_control->set_throttle_out(motors->get_throttle_hover(), true, 0);
// set throttle at either hover throttle or current throttle, whichever is higher, through the transition
attitude_control->set_throttle_out(MAX(motors->get_throttle_hover(),motors->get_throttle()), true, 0);
break;
}