mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 18:38:28 -04:00
Plane: allow yaw control in auto-throttle VTOL modes
This commit is contained in:
parent
70018ee0cb
commit
9c5ec5e74b
@ -574,7 +574,7 @@ float QuadPlane::get_pilot_desired_yaw_rate_cds(void)
|
|||||||
// use bank angle to get desired yaw rate
|
// use bank angle to get desired yaw rate
|
||||||
yaw_cds += desired_yaw_rate_cds();
|
yaw_cds += desired_yaw_rate_cds();
|
||||||
}
|
}
|
||||||
if (plane.channel_throttle->control_in <= 0) {
|
if (plane.channel_throttle->control_in <= 0 && !plane.auto_throttle_mode) {
|
||||||
// the user may be trying to disarm
|
// the user may be trying to disarm
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user