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

Revision:
97:0ed9ede9a995
Parent:
86:51048c1f132f
diff -r ec89c4d1383d -r 0ed9ede9a995 StateMachine/TestingState.h
--- a/StateMachine/TestingState.h	Wed Apr 19 19:43:15 2017 +0000
+++ b/StateMachine/TestingState.h	Wed Apr 19 21:17:40 2017 +0000
@@ -52,14 +52,12 @@
     virtual uint8_t HasTouchIrqFunction() const;
     
     /**
-    * @brief The position callback function for the touch screen. Based on the touch position, the corresponding functionality will be executed. 
-    */
-    virtual void TouchPosCallback(int16_t x, int16_t y);
-    
-    /**
     * @brief The interrupt callback function for the touch screen.
     */
     virtual void TouchIrqCallback();
+    
+private:
+    volatile uint8_t m_shouldTerminate; /*!< @brief Did testing state received a pendding Terminating command? */
 };
 
 #endif //TESTING_STATE_H
\ No newline at end of file