|
Re: PIDController help
I'll add that the Set*Tolerance functions are there so that you can later call the OnTarget function to see if the controller is within your desired range. As you observed, the tolerances do not have any effect on the control loop.
If you want the controller to not control when it's in range you can check to see if the controller is on target. If it is, you can disable, else enable.
|