cuboid strong
Dependencies: mbed
PI_Cntrl.h
- Committer:
- rtlabor
- Date:
- 2018-01-10
- Revision:
- 1:2e118d67eeae
- Parent:
- 0:15be70d21d7c
File content as of revision 1:2e118d67eeae:
class PI_Cntrl{ public: PI_Cntrl(float a,float b); PI_Cntrl(float a,float b,float c); PI_Cntrl(float a,float b,float c,float d); float operator()(float e){ return doStep(e); } virtual ~PI_Cntrl(); void reset(float); float doStep(float); private: float Tn; float Kp; float Ts; float out_max; float out_min; float i_part_old; float del; };