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:
70:311d32a596db
Parent:
67:1b5c8add3d01
Child:
79:bdbac82c979b
diff -r 34e97694f0ef -r 311d32a596db Hardwares/ArduCAM.h
--- a/Hardwares/ArduCAM.h	Thu Apr 13 18:02:22 2017 +0000
+++ b/Hardwares/ArduCAM.h	Fri Apr 14 18:44:41 2017 +0000
@@ -9,13 +9,13 @@
 #define RESOLUTION_WIDTH 80
 #define RESOLUTION_HEIGHT 60
 //#define MANUAL_REDUCE_RESULOTION_BY2
-#define CAM_ROI_UPPER_LIMIT 10
+#define CAM_ROI_UPPER_LIMIT 6
 
 
 #define BOTH_NOT_FOUND   0
 #define LEFT_FOUND       1
 #define RIGHT_FOUND      2
-#define BOTH_FOUND        3
+#define BOTH_FOUND       3
 
 //=====Must pick one and only one here!=====
 //#define ARDUCAM_SHIELD_OV2640