AC_AutoTune: fix backup of yaw acceleration

This commit is contained in:
Randy Mackay 2020-01-21 09:03:09 +09:00
parent 7ee4054515
commit 2f568bbfcb
1 changed files with 1 additions and 1 deletions

View File

@ -1210,7 +1210,7 @@ void AC_AutoTune::save_tuning_gains()
orig_yaw_rff = attitude_control->get_rate_yaw_pid().ff();
orig_yaw_rLPF = attitude_control->get_rate_yaw_pid().filt_E_hz();
orig_yaw_sp = attitude_control->get_angle_yaw_p().kP();
orig_yaw_accel = attitude_control->get_accel_pitch_max();
orig_yaw_accel = attitude_control->get_accel_yaw_max();
}
// update GCS and log save gains event