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.
StaticwithCreates a controller whose output is clamped to [min, max].
Holds a value at a setpoint by trading off present, past, and predicted error.