PID用ライブラリ ※位置型PIDと速度型PIDの選択式

Dependents:   Tourobo2022_TBCMotorDriver

Revision:
2:7fede27af6ca
Parent:
1:4bc4c63ea283
Child:
4:3c2651359136
--- a/Pid.h	Sun Jun 09 01:35:07 2019 +0000
+++ b/Pid.h	Tue Sep 10 13:55:06 2019 +0000
@@ -12,7 +12,7 @@
     public:
         void setup(float Kp,float Ki,float Kd,short PidMode = 0,float period = 0.01f);
         
-        void calculate(float targetValue,float nowValue);
+        void calculate(float targetValue,float nowValue,bool enableErrorIntegration=true);
         
         void reset();