Project Paint / Mbed 2 deprecated arm_control

Dependencies:   mbed QEI biquadFilter

Committer:
Jankoekenpan
Date:
Fri Nov 04 13:26:28 2016 +0000
Revision:
29:1c5254b27851
Parent:
0:494acf21d3bc
documented the processEMG function

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ronvbree 0:494acf21d3bc 1
ronvbree 0:494acf21d3bc 2 class PIDController {
ronvbree 0:494acf21d3bc 3 private:
ronvbree 0:494acf21d3bc 4 float Kp;
ronvbree 0:494acf21d3bc 5 float Ki;
ronvbree 0:494acf21d3bc 6 float Kd;
ronvbree 0:494acf21d3bc 7 float previousError;
ronvbree 0:494acf21d3bc 8 float errorIntegral;
ronvbree 0:494acf21d3bc 9 public:
ronvbree 0:494acf21d3bc 10 PIDController(float Kp, float Ki, float Kd);
ronvbree 0:494acf21d3bc 11 float control(float error, float t);
ronvbree 0:494acf21d3bc 12
ronvbree 0:494acf21d3bc 13 };