Forked repository for PID library, I do not think I made any changes to this

Dependents:   Axis Axis_20181108

Fork of PID by Aaron Berk

Files at this revision

API Documentation at this revision

Comitter:
jebradshaw
Date:
Wed Jul 11 13:46:51 2018 +0000
Parent:
0:6e12a3e5af19
Commit message:
No changes

Changed in this revision

PID.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 6e12a3e5af19 -r d5d6a555cc8c PID.cpp
--- a/PID.cpp	Thu Sep 02 16:48:10 2010 +0000
+++ b/PID.cpp	Wed Jul 11 13:46:51 2018 +0000
@@ -127,10 +127,10 @@
 void PID::setTunings(float Kc, float tauI, float tauD) {
 
     //Verify that the tunings make sense.
-    if (Kc == 0.0 || tauI < 0.0 || tauD < 0.0) {
+/*    if (Kc == 0.0 || tauI < 0.0 || tauD < 0.0) {
         return;
     }
-
+*/
     //Store raw values to hand back to user on request.
     pParam_ = Kc;
     iParam_ = tauI;