AMP_Control: Roll and Pitch Controller: don't reset pid_info.I in reset_I calls

This commit is contained in:
Iampete1 2023-01-13 15:17:30 +00:00 committed by Andrew Tridgell
parent 2371d83620
commit c99c17f1ce
2 changed files with 0 additions and 2 deletions

View File

@ -345,7 +345,6 @@ float AP_PitchController::get_servo_out(int32_t angle_err, float scaler, bool di
void AP_PitchController::reset_I()
{
_pid_info.I = 0;
rate_pid.reset_I();
}

View File

@ -247,7 +247,6 @@ float AP_RollController::get_servo_out(int32_t angle_err, float scaler, bool dis
void AP_RollController::reset_I()
{
_pid_info.I = 0;
rate_pid.reset_I();
}