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.cpp
- Revision:
- 70:311d32a596db
- Parent:
- 65:295c222fdf88
- Child:
- 72:b8f2eebc8912
--- a/Hardwares/ArduCAM.cpp Thu Apr 13 18:02:22 2017 +0000 +++ b/Hardwares/ArduCAM.cpp Fri Apr 14 18:44:41 2017 +0000 @@ -25,7 +25,7 @@ const static uint8_t CAM_BLK_CAL_LEFT = ((RESOLUTION_WIDTH / 2) - 1); const static uint8_t CAM_BLK_CAL_RIGHT = ((RESOLUTION_WIDTH / 2) + 1); -const static uint8_t TERMINATE_WIDTH = static_cast<uint8_t>(RESOLUTION_WIDTH * 0.30f); +const static uint8_t TERMINATE_WIDTH = static_cast<uint8_t>(RESOLUTION_WIDTH * 0.28f); static DigitalOut cam_cs(PIN_ACC_CS, 1);