Kp, Ki, Kd = 1.5, 0.5, 0.2 # pid = PID(Kp, Ki, Kd, f_max=10) pid = AntiWindupPID(Kp, Ki, Kd, f_max=10, Ks=10, limits=[-20, 20]) ...