mc_pos_control: reset velocity derivatives

This commit is contained in:
Matthias Grob
2019-11-19 22:18:01 +01:00
committed by Mathieu Bresciani
parent b213e30597
commit b64abf48b2
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -87,6 +87,7 @@ public:
float update(float input);
// accessors
void setU(float u) {_u = u;}
void reset() { _initialized = false; };
float getU() {return _u;}
float getLP() {return _lowPass.getFCut();}
float getO() { return _lowPass.getState(); }