mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 17:38:32 -04:00
Plane: Quadplane tailsit transition to FW throttle level change
This commit is contained in:
parent
6c730ccfec
commit
3397bce235
@ -1711,7 +1711,8 @@ void QuadPlane::update_transition(void)
|
|||||||
attitude_control->input_euler_angle_roll_pitch_euler_rate_yaw(plane.nav_roll_cd,
|
attitude_control->input_euler_angle_roll_pitch_euler_rate_yaw(plane.nav_roll_cd,
|
||||||
plane.nav_pitch_cd,
|
plane.nav_pitch_cd,
|
||||||
0);
|
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;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user