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:
54:78854efeb1df
Parent:
51:6a84fbc404c8
diff -r f25846758cd4 -r 78854efeb1df main.h
--- a/main.h	Fri Apr 28 07:55:43 2017 +0000
+++ b/main.h	Fri Apr 28 07:58:19 2017 +0000
@@ -132,8 +132,8 @@
 //Accelerometer:
 float checkAcc();
 float accTheshold=0.4;
-bool torque = 1;
- float man_tuner = 1.0f ;
+bool torque = false;
+ float man_tuner = 0.6f ;
 #if   defined (TARGET_KL25Z) || defined (TARGET_KL46Z)
   PinName const SDA = PTE25;
   PinName const SCL = PTE24;