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

StateMachine/StandbyState.h

Committer:
hazheng
Date:
2017-04-18
Branch:
Drift
Revision:
80:c85cb93713b3
Child:
86:51048c1f132f

File content as of revision 80:c85cb93713b3:

#pragma once
#ifndef STANDBY_STATE_H
#define STANDBY_STATE_H

#include <mbed.h>
#include "States.h"

class StandbyState : public States
{
public:
    StandbyState();
    ~StandbyState();
    
    virtual void DrawUserInterface();
    
    virtual void Update(float deltaTime);
    
    virtual uint8_t HasTouchPosFunction() const;
    
    virtual uint8_t HasTouchIrqFunction() const;
    
    virtual void TouchPosCallback(int16_t x, int16_t y);
    
    virtual void TouchIrqCallback();
};

#endif //STANDBY_STATE_H