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

This commit is contained in:
esaldiran 2022-07-18 23:32:35 +01:00 committed by Peter Hall
parent 9d8bf5004e
commit 545cf0504a
1 changed files with 2 additions and 1 deletions

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;
}
/*