bla
Diff: Pid_control.h
- Revision:
- 0:7ab090cd6520
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Pid_control.h Thu Jul 13 13:42:50 2017 +0000 @@ -0,0 +1,28 @@ +#ifndef PID_CONTROL_H +#define PID_CONTROL_H + +class Pid_control +{ +public: + + + Pid_control(); + ~Pid_control(); + + int error; + float control_out; + float derivate ; + float sum; + float delta_t; + float actual_value_old; + +float control( int actual_value, int target_value, float p, float i,float d, float min_control_out, float max_control_out ); + +private: + + + + +}; + +#endif \ No newline at end of file