mirror of https://github.com/ArduPilot/ardupilot
AMP_Control: Roll and Pitch Controller: don't reset pid_info.I in reset_I calls
This commit is contained in:
parent
2371d83620
commit
c99c17f1ce
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue