car using PID from centre line
Dependencies: FRDM-TFC mbed CBuffer XBEE mbed_angular_speed motor2 MMA8451Q
Fork of KL25Z_Camera_Test by
Diff: main.h
- Revision:
- 51:6a84fbc404c8
- Parent:
- 50:1cfe1f975b0c
- Child:
- 54:78854efeb1df
--- a/main.h Thu Apr 27 15:51:01 2017 +0000 +++ b/main.h Thu Apr 27 15:58:18 2017 +0000 @@ -128,10 +128,11 @@ float oldTime; int lapNo; -bool torque = 1; + //Accelerometer: float checkAcc(); float accTheshold=0.4; +bool torque = 1; float man_tuner = 1.0f ; #if defined (TARGET_KL25Z) || defined (TARGET_KL46Z) PinName const SDA = PTE25;