//
Dependencies: MPU6050 brushlessMotor mbed
Fork of gimbalController_brushless_IMU by
Diff: PID/PID.h
- Revision:
- 9:2779500685cb
- Child:
- 10:12f9371f3e0f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PID/PID.h Sun May 15 16:15:44 2016 +0000 @@ -0,0 +1,27 @@ +#ifndef PID_H +#define PID_H + +#include "mbed.h" + +class PIDControll{ //klasse van onze brushlessmotor + public: + + //functies + PIDControll(); //constructor + void PIDaanpassing(float angle); + + float Kp; + float Ki; + float Kd; + float set_point; // camera hoek + float proportional; + float last_proportional; + float integral; + float derivative; + float errorPID; + int dir; + int delay; + int stop; +}; + +#endif \ No newline at end of file