mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
ArduPlane:Add safety limit on tailsitter VTOL transition throttle
Co-authored-by: Peter Hall <33176108+IamPete1@users.noreply.github.com>
This commit is contained in:
parent
6eca18c08b
commit
5e8e088978
@ -84,6 +84,7 @@ void QuadPlane::tailsitter_output(void)
|
||||
integrator to the same throttle level
|
||||
*/
|
||||
throttle = motors->get_throttle_hover() * 100;
|
||||
throttle = MAX(throttle,plane.aparm.throttle_cruise.get());
|
||||
SRV_Channels::set_output_scaled(SRV_Channel::k_rudder, 0);
|
||||
pos_control->get_accel_z_pid().set_integrator(throttle*10);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user