a fork of priustroller

Dependencies:   mbed

Fork of priustroller_current by N K

Revision:
50:16b43e8fe04f
Parent:
25:0003b824dd7d
--- a/meta/pidcontroller.cpp	Tue Apr 21 03:52:08 2015 +0000
+++ b/meta/pidcontroller.cpp	Fri Apr 24 16:19:29 2015 +0000
@@ -27,4 +27,8 @@
     if (tmp < _out_min) tmp = _out_min;
     
     return tmp;
-}
\ No newline at end of file
+}
+
+void PidController::ZeroIntegrator() {
+    _integral = 0.0f;
+    }
\ No newline at end of file