Hello, when the tunings are changed, it might be good to reset the integrals. Code: https://github.com/br3ttb/Arduino-PID-Library/blob/master/examples/PID_AdaptiveTunings/PID_AdaptiveTunings.ino ```C++ myPID.SetMode(MANUAL); Output = 0; myPID.SetMode(AUTOMATIC); ``` Ref.: https://forum.arduino.cc/t/using-arduino-pid-library-reseting-integrals/296451
Hello, when the tunings are changed, it might be good to reset the integrals.
Code:
https://github.com/br3ttb/Arduino-PID-Library/blob/master/examples/PID_AdaptiveTunings/PID_AdaptiveTunings.ino
myPID.SetMode(MANUAL); Output = 0; myPID.SetMode(AUTOMATIC);Ref.:
https://forum.arduino.cc/t/using-arduino-pid-library-reseting-integrals/296451