mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
Plane: fixed throttle suppression for AUTO_FBW_STEER=1
This commit is contained in:
parent
1869cd52e1
commit
e455ee0a94
@ -540,7 +540,12 @@ static bool suppress_throttle(void)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (control_mode==AUTO && !g.auto_fbw_steer && takeoff_complete == false && auto_takeoff_check()) {
|
||||
if (control_mode==AUTO && g.auto_fbw_steer) {
|
||||
// user has throttle control
|
||||
return false;
|
||||
}
|
||||
|
||||
if (control_mode==AUTO && takeoff_complete == false && auto_takeoff_check()) {
|
||||
// we're in auto takeoff
|
||||
throttle_suppressed = false;
|
||||
if (hold_course_cd != -1) {
|
||||
|
Loading…
Reference in New Issue
Block a user