def reset(self):
        self.integrated_error = 0.0
        self.last_error = 0.0
        self.last_var_desired = 0.0
Resets the integral and derivative parts of loop, eg after a change to the desired variable.
dataset/ETHPy150Open FishPi/FishPi-POCV---Command---Control/fishpi/control/navigation.py/BasicPIDControl.reset