Tobias Vögeli
/
GRT_VC_PIDT1
pr7
Diff: PID_Cntrl.h
- Revision:
- 1:92f175969d90
- Parent:
- 0:05dd1de8cc3f
- Child:
- 2:1ded9d10f322
--- a/PID_Cntrl.h Fri May 03 09:37:27 2019 +0000 +++ b/PID_Cntrl.h Fri May 10 14:25:24 2019 +0000 @@ -1,12 +1,12 @@ #ifndef PID_CNTRL_H_ #define PID_CNTRL_H_ -// PID Controller Class (Template) +// PID Controller Class class PID_Cntrl { public: - PID_Cntrl(float P, float I, float D, float tau_f, float Ts, float uMin, float uMax); + PID_Cntrl(float Kp, float Ki, float Kd, float Tf, float Ts, float uMin, float uMax); float operator()(float error) { return update((double)error); @@ -19,7 +19,12 @@ private: - // here some local variables are defined + // controller parameters (member variables) + // ??? + + // storage for signals (member variables) + // ??? }; -#endif \ No newline at end of file +#endif +