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

Core.cpp

Committer:
Bobymicjohn
Date:
2017-02-07
Revision:
11:676ea42afd56
Child:
54:f1f5648dfacf

File content as of revision 11:676ea42afd56:

#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;
    }
    
    
}