N K
/
GaNtroller
a fork of priustroller
Fork of priustroller_current by
Diff: meta/pidcontroller.cpp
- Revision:
- 50:16b43e8fe04f
- Parent:
- 25:0003b824dd7d
diff -r 0603121a0538 -r 16b43e8fe04f meta/pidcontroller.cpp --- 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