mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
Plane: fixed AUTO_FBW_STEER stick mixing
This commit is contained in:
parent
d89f514c02
commit
1869cd52e1
@ -154,7 +154,8 @@ static void stabilize_stick_mixing_fbw()
|
|||||||
control_mode == FLY_BY_WIRE_A ||
|
control_mode == FLY_BY_WIRE_A ||
|
||||||
control_mode == FLY_BY_WIRE_B ||
|
control_mode == FLY_BY_WIRE_B ||
|
||||||
control_mode == CRUISE ||
|
control_mode == CRUISE ||
|
||||||
control_mode == TRAINING) {
|
control_mode == TRAINING ||
|
||||||
|
(control_mode == AUTO && g.auto_fbw_steer)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// do FBW style stick mixing. We don't treat it linearly
|
// do FBW style stick mixing. We don't treat it linearly
|
||||||
|
Loading…
Reference in New Issue
Block a user