car using PID from centre line

Dependencies:   FRDM-TFC mbed CBuffer XBEE mbed_angular_speed motor2 MMA8451Q

Fork of KL25Z_Camera_Test by GDP 4

Committer:
FatCookies
Date:
Mon Nov 21 17:19:05 2016 +0000
Revision:
12:da96e2f87465
Child:
13:4e77264f254a
i thought i updated this

Who changed what in which revision?

UserRevisionLine numberNew contents of line
FatCookies 12:da96e2f87465 1
FatCookies 12:da96e2f87465 2 typedef struct {
FatCookies 12:da96e2f87465 3 float Kp;
FatCookies 12:da96e2f87465 4 float Ki;
FatCookies 12:da96e2f87465 5 float Kd;
FatCookies 12:da96e2f87465 6 float dt;
FatCookies 12:da96e2f87465 7 float p_error;
FatCookies 12:da96e2f87465 8 float pid_error;
FatCookies 12:da96e2f87465 9 float integral;
FatCookies 12:da96e2f87465 10 float measured_value, desired_value, derivative;
FatCookies 12:da96e2f87465 11 float output;
FatCookies 12:da96e2f87465 12 } pid_instance;
FatCookies 12:da96e2f87465 13