mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -04:00
Plane: copy rudder out in TRAINING mode
we were doing rudder mixing in training mode, which shouldn't be done
This commit is contained in:
parent
993154ea59
commit
e58f49aeaf
@ -721,6 +721,11 @@ static void set_servos(void)
|
||||
throttle_slew_limit(last_throttle);
|
||||
}
|
||||
|
||||
if (control_mode == TRAINING) {
|
||||
// copy rudder in training mode
|
||||
g.channel_rudder.radio_out = g.channel_rudder.radio_in;
|
||||
}
|
||||
|
||||
#if HIL_MODE != HIL_MODE_DISABLED
|
||||
if (!g.hil_servos) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user