//

Dependencies:   MPU6050 brushlessMotor mbed

Fork of gimbalController_brushless_IMU by Baser Kandehir

PID/PID.h

Committer:
alfaleader
Date:
2016-05-16
Revision:
10:12f9371f3e0f
Parent:
9:2779500685cb

File content as of revision 10:12f9371f3e0f:

#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;
    float delay;  
    int stop;  
};

#endif