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/TestingState.h

Committer:
hazheng
Date:
2017-04-18
Branch:
Drift
Revision:
82:992ba6f31e24
Child:
86:51048c1f132f

File content as of revision 82:992ba6f31e24:

#pragma once
#ifndef TESTING_STATE_H
#define TESTING_STATE_H

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

class TestingState : public States
{
public:
    TestingState();
    ~TestingState();
    
    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 //TESTING_STATE_H