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

Committer:
hazheng
Date:
Tue Apr 18 20:51:06 2017 +0000
Branch:
Drift
Revision:
82:992ba6f31e24
Child:
97:0ed9ede9a995
Finished state switching.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
hazheng 82:992ba6f31e24 1 #include "TestingState.h"
hazheng 82:992ba6f31e24 2
hazheng 82:992ba6f31e24 3 TestingState::TestingState()
hazheng 82:992ba6f31e24 4 {}
hazheng 82:992ba6f31e24 5
hazheng 82:992ba6f31e24 6 TestingState::~TestingState()
hazheng 82:992ba6f31e24 7 {}
hazheng 82:992ba6f31e24 8
hazheng 82:992ba6f31e24 9 void TestingState::DrawUserInterface()
hazheng 82:992ba6f31e24 10 {
hazheng 82:992ba6f31e24 11
hazheng 82:992ba6f31e24 12 }
hazheng 82:992ba6f31e24 13
hazheng 82:992ba6f31e24 14 void TestingState::Update(float deltaTime)
hazheng 82:992ba6f31e24 15 {
hazheng 82:992ba6f31e24 16
hazheng 82:992ba6f31e24 17 }
hazheng 82:992ba6f31e24 18
hazheng 82:992ba6f31e24 19 uint8_t TestingState::HasTouchPosFunction() const
hazheng 82:992ba6f31e24 20 {
hazheng 82:992ba6f31e24 21 return 0;
hazheng 82:992ba6f31e24 22 }
hazheng 82:992ba6f31e24 23
hazheng 82:992ba6f31e24 24 uint8_t TestingState::HasTouchIrqFunction() const
hazheng 82:992ba6f31e24 25 {
hazheng 82:992ba6f31e24 26 return 1;
hazheng 82:992ba6f31e24 27 }
hazheng 82:992ba6f31e24 28
hazheng 82:992ba6f31e24 29 void TestingState::TouchPosCallback(int16_t x, int16_t y)
hazheng 82:992ba6f31e24 30 {
hazheng 82:992ba6f31e24 31
hazheng 82:992ba6f31e24 32 }
hazheng 82:992ba6f31e24 33
hazheng 82:992ba6f31e24 34 void TestingState::TouchIrqCallback()
hazheng 82:992ba6f31e24 35 {
hazheng 82:992ba6f31e24 36
hazheng 82:992ba6f31e24 37 }