APM_Control: AP_YawController: update pid_info with integrator reset for logging purposes

This commit is contained in:
esaldiran
2022-07-19 11:40:03 +01:00
committed by Peter Hall
parent 9d8bf5004e
commit 545cf0504a
+2 -1
View File
@@ -343,7 +343,8 @@ float AP_YawController::get_rate_out(float desired_rate, float scaler, bool disa
void AP_YawController::reset_I()
{
_integrator = 0;
_integrator = 0.0;
_pid_info.I = 0.0;
}
/*