Holds a value at a setpoint by trading off present, past, and predicted error.
Creates a controller with the given proportional, integral, derivative gains.
Clears the accumulated integral and last error.
Advances the controller by one step and returns the control output.
Static
Creates a controller whose output is clamped to [min, max].
[min, max]
Holds a value at a setpoint by trading off present, past, and predicted error.