Plane: allow yaw control in auto-throttle VTOL modes

This commit is contained in:
Andrew Tridgell 2016-01-03 12:31:13 +11:00
parent 70018ee0cb
commit 9c5ec5e74b
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }