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:
Andrew Tridgell 2013-04-05 19:38:43 +11:00
parent 993154ea59
commit e58f49aeaf

View File

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