chose PID library implement PID (weight is NOT determined)
Dependents: optWingforHAPS_Eigen hexaTest_Eigen
Diff: PIDcontroller.cpp
- Revision:
- 6:dfd3e6512bd5
- Parent:
- 4:462dd38db926
diff -r 462dd38db926 -r dfd3e6512bd5 PIDcontroller.cpp --- a/PIDcontroller.cpp Wed Sep 01 04:55:53 2021 +0000 +++ b/PIDcontroller.cpp Thu Mar 17 01:29:36 2022 +0000 @@ -106,6 +106,10 @@ } else return value; } + + void PID::resetIntError(){ + accError_ = 0.0; + } /** * 不完全微分の式