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

main.h

Committer:
FatCookies
Date:
2016-11-21
Revision:
12:da96e2f87465
Child:
13:4e77264f254a

File content as of revision 12:da96e2f87465:


typedef struct {
    float Kp;
    float Ki;
    float Kd;
    float dt;
    float p_error;
    float pid_error;
    float integral;
    float measured_value, desired_value, derivative;
    float output;
} pid_instance;