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

Revision:
50:1cfe1f975b0c
Parent:
48:daa2a1900ada
Child:
51:6a84fbc404c8
--- a/main.h	Thu Apr 27 12:10:40 2017 +0000
+++ b/main.h	Thu Apr 27 15:51:01 2017 +0000
@@ -128,7 +128,7 @@
 
 float oldTime;
 int lapNo;
-
+bool torque = 1;
 //Accelerometer:
 float checkAcc();
 float accTheshold=0.4;