James Kiwic
/
RT2_P3_students
Fertig
Fork of RT2_P3_students by
Diff: PI_Cntrl.h
- Revision:
- 4:16f47c056c7c
- Parent:
- 1:a30512c3ac73
diff -r 769ce5f06d3e -r 16f47c056c7c PI_Cntrl.h --- a/PI_Cntrl.h Mon Apr 09 08:01:29 2018 +0000 +++ b/PI_Cntrl.h Tue Apr 17 12:03:20 2018 +0000 @@ -4,13 +4,18 @@ class PI_Cntrl{ public: - + PI_Cntrl(float Kp, float Tn); + ~PI_Cntrl(); + void reset(float initValue); + float doStep(float error); // .... private: // .... + float Kp; + float Tn; };