SmartWheels self-driving race car. Designed for NXP Cup. Uses FRDM-KL25Z, area-scan camera, and simple image processing to detect and navigate any NXP spec track.

Dependencies:   TSI USBDevice mbed-dev

Fork of SmartWheels by haofan Zheng

Branch:
Drift
Revision:
85:f3911aab41d9
Parent:
80:c85cb93713b3
Child:
86:51048c1f132f
diff -r 2c22d01e8ae9 -r f3911aab41d9 StateMachine/RunningState.h
--- a/StateMachine/RunningState.h	Tue Apr 18 22:10:17 2017 +0000
+++ b/StateMachine/RunningState.h	Tue Apr 18 22:27:14 2017 +0000
@@ -30,6 +30,7 @@
     float m_lastAngleAbs;
     float m_cornerRatio;
     uint8_t m_lastLineFound;
+    volatile uint8_t m_shouldTerminate;
     
     void TerminateProcess();
 };