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:
55:d4db9eef4a9d
Parent:
54:f1f5648dfacf
Child:
56:7d3395ae022d
--- a/main.cpp	Thu Apr 06 20:36:51 2017 +0000
+++ b/main.cpp	Thu Apr 06 21:43:15 2017 +0000
@@ -66,7 +66,7 @@
         
         //ardu_cam_display_img_utft();
         
-        const uint8_t * centerLine = ardu_cam_get_center_array();
+        const volatile uint8_t * centerLine = ardu_cam_get_center_array();
         
         /////////////Calculate the curvature:
         float srcY = (0.0f) / 1.0f;