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
Diff: Hardwares/ArduCAM.h
- Revision:
- 67:1b5c8add3d01
- Parent:
- 58:996effac29b9
- Parent:
- 65:295c222fdf88
- Child:
- 70:311d32a596db
--- a/Hardwares/ArduCAM.h Thu Apr 13 17:52:26 2017 +0000 +++ b/Hardwares/ArduCAM.h Thu Apr 13 17:57:31 2017 +0000 @@ -9,8 +9,13 @@ #define RESOLUTION_WIDTH 80 #define RESOLUTION_HEIGHT 60 //#define MANUAL_REDUCE_RESULOTION_BY2 -#define CAM_ROI_UPPER_LIMIT 12 +#define CAM_ROI_UPPER_LIMIT 10 + +#define BOTH_NOT_FOUND 0 +#define LEFT_FOUND 1 +#define RIGHT_FOUND 2 +#define BOTH_FOUND 3 //=====Must pick one and only one here!===== //#define ARDUCAM_SHIELD_OV2640 @@ -107,6 +112,8 @@ void image_processing(); +uint8_t ardu_cam_get_is_encounter_terminate(); + #ifdef __cplusplus } #endif