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: Core.cpp
- Revision:
- 11:676ea42afd56
- Child:
- 54:f1f5648dfacf
diff -r fedb5786a109 -r 676ea42afd56 Core.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Core.cpp Tue Feb 07 21:58:20 2017 +0000 @@ -0,0 +1,31 @@ +#include "Core.h" + +#include "SWUSBServer.h" + +namespace SW +{ + + Core::Core() : + m_usbServer(new USBServer) + { + + } + + Core::~Core() + { + delete m_usbServer; + } + + void Core::Update(float deltaTime) + { + m_usbServer->Update(deltaTime); + + } + + USBServer& Core::GetUSBServer() + { + return *m_usbServer; + } + + +} \ No newline at end of file