From 397b6e5a3561fa716451efd608c6b2edf9cae2ce Mon Sep 17 00:00:00 2001 From: Justin Kleiber Date: Tue, 14 Jun 2022 01:10:45 -0400 Subject: [PATCH] Fixes misleading variable naming in PID header file --- src/PIDController.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIDController.h b/src/PIDController.h index 36a2996..79fe168 100644 --- a/src/PIDController.h +++ b/src/PIDController.h @@ -21,7 +21,7 @@ class PIDController void begin(float init_state, float kp, float ki, float kd); void reset(); void setBounded(bool bounded); - void setOutputRange(float upper, float lower); + void setOutputRange(float lower, float upper); void setTolerance(float setpoint_tol, float derivative_tol, bool apply_tolerance); void setIntegratorBounds(float min, float max);