library to perform velocity PID control

Dependents:   PID_VelocityExample TheProgram

Fork of PID by Aaron Berk

Revision:
5:15998473cc64
Parent:
3:54068e076b84
diff -r 54068e076b84 -r 15998473cc64 PID.cpp
--- a/PID.cpp	Tue Oct 06 10:50:31 2015 +0000
+++ b/PID.cpp	Tue Oct 06 14:20:57 2015 +0000
@@ -281,9 +281,6 @@
         else if (controllerOutputSum_ > 0){
             controllerOutput_ = scaledDeadzoneTop;
         }
-        else {
-            controllerOutput_ = (scaledDeadzoneBottom+scaledDeadzoneTop)/2; 
-        }
     }
     //Make sure the computed output is within output constraints.
     if (controllerOutput_ < 0) {