Pascal Keller
/
GRT_VC_PIDT1
Regler von Kellep15
PID_Cntrl.h
- Committer:
- pmic
- Date:
- 2019-05-10
- Revision:
- 1:92f175969d90
- Parent:
- 0:05dd1de8cc3f
- Child:
- 2:394782101261
File content as of revision 1:92f175969d90:
#ifndef PID_CNTRL_H_ #define PID_CNTRL_H_ // PID Controller Class class PID_Cntrl { public: PID_Cntrl(float Kp, float Ki, float Kd, float Tf, float Ts, float uMin, float uMax); float operator()(float error) { return update((double)error); } virtual ~PID_Cntrl(); void reset(float initValue); float update(double error); private: // controller parameters (member variables) // ??? // storage for signals (member variables) // ??? }; #endif