30 AWARN <<
"dt <= 0, will use the last output";
46 if (((error * u) > 0) &&
double output_saturation_low_
int output_saturation_status_
double output_saturation_high_
virtual int OutputSaturationStatus()
virtual double Control(const double error, const double dt)
compute control value based on the error, with integral-clamping-anti-windup
Math-related util functions.
T Clamp(const T value, T bound1, T bound2)
Clamp a value between two bounds.