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

Branch:
Drift
Revision:
87:15fcf7891bf9
Parent:
32:5badeff825dc
Child:
92:e9bd429f16b5
--- a/Hardwares/CamRegBuf.h	Wed Apr 19 03:46:21 2017 +0000
+++ b/Hardwares/CamRegBuf.h	Wed Apr 19 04:06:01 2017 +0000
@@ -4,17 +4,12 @@
 
 #include <mbed.h>
 
-namespace SW
-{
-    class Core;
-}
-
 struct sensor_reg;
 
 class CamRegBuf
 {
 public:
-    CamRegBuf(SW::Core & core, uint8_t writeAddr,  uint8_t readAddr);
+    CamRegBuf(uint8_t writeAddr,  uint8_t readAddr);
     
     ~CamRegBuf();
     
@@ -39,8 +34,6 @@
     
     uint8_t m_readAddr;
     
-    SW::Core & m_core;
-    
     I2C m_sccbCtrl;
 };