Project Paint / Mbed 2 deprecated arm_control

Dependencies:   mbed QEI biquadFilter

PID_controller.h

Committer:
ronvbree
Date:
2016-10-31
Revision:
0:494acf21d3bc

File content as of revision 0:494acf21d3bc:


class PIDController {
    private:
        float Kp;
        float Ki;
        float Kd;
        float previousError;
        float errorIntegral;
    public:
        PIDController(float Kp, float Ki, float Kd);
        float control(float error, float t);
    
};