PID
Dependents: kinematics_control kinematics_controlv2 kinematics_controlv4 kinematics_control_copyfds ... more
Diff: PIDControl.h
- Revision:
- 0:b076b5e36978
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PIDControl.h Thu Oct 26 10:53:46 2017 +0000 @@ -0,0 +1,21 @@ +#ifndef _PIDCONTROL_H_INCLUDED_ +#define _PIDCONTROL_H_INCLUDED_ + +#include "mbed.h" + +class PIDControl +{ +public: + /** + *Constructor + */ + PIDControl(void); + + + // Calculate the PID control value + double get(float error, const float Kp, const float Ki, const float Kd, const float Ts, const float N, double &v1, double &v2); + +private: + +}; +#endif \ No newline at end of file