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:
57:0d8a155d511d
Parent:
54:f1f5648dfacf
Child:
58:996effac29b9
Child:
64:43ab429a37e0
--- a/Hardwares/ArduCAM.h	Thu Apr 06 22:19:59 2017 +0000
+++ b/Hardwares/ArduCAM.h	Sat Apr 08 15:58:52 2017 +0000
@@ -6,10 +6,10 @@
 #include <rtos.h>
 #include "PinAssignment.h"
 
-#define RESOLUTION_WIDTH 80
-#define RESOLUTION_HEIGHT 60
+#define RESOLUTION_WIDTH 160
+#define RESOLUTION_HEIGHT 120
 //#define MANUAL_REDUCE_RESULOTION_BY2
-#define CAM_ROI_UPPER_LIMIT 3
+#define CAM_ROI_UPPER_LIMIT 8
 
 
 //=====Must pick one and only one here!=====
@@ -105,6 +105,8 @@
 
 void ardu_cam_display_img_utft();
 
+void image_processing();
+
 #ifdef __cplusplus
 }
 #endif