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:
54:f1f5648dfacf
Child:
92:e9bd429f16b5
diff -r 51048c1f132f -r 15fcf7891bf9 Hardwares/CamRegBuf.cpp
--- a/Hardwares/CamRegBuf.cpp	Wed Apr 19 03:46:21 2017 +0000
+++ b/Hardwares/CamRegBuf.cpp	Wed Apr 19 04:06:01 2017 +0000
@@ -1,15 +1,12 @@
 #include "CamRegBuf.h"
 
 #include "PinAssignment.h"
-#include "Core.h"
-#include "SWUSBServer.h"
 
 #include "CamRegDefinitions.h"
 
-CamRegBuf::CamRegBuf(SW::Core & core, uint8_t writeAddr,  uint8_t readAddr) : 
+CamRegBuf::CamRegBuf(uint8_t writeAddr,  uint8_t readAddr) : 
     m_writeAddr(writeAddr),
     m_readAddr(readAddr),
-    m_core(core),
     m_sccbCtrl(I2C(PIN_ORB_SDA, PIN_ORB_SCL))
 {