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: StateMachine/RunningState.cpp
- Branch:
- Drift
- Revision:
- 81:32bd7a25a699
- Parent:
- 80:c85cb93713b3
- Child:
- 82:992ba6f31e24
--- a/StateMachine/RunningState.cpp Tue Apr 18 19:26:33 2017 +0000 +++ b/StateMachine/RunningState.cpp Tue Apr 18 19:42:15 2017 +0000 @@ -22,7 +22,12 @@ void RunningState::DrawUserInterface() { + ardu_utft_clr_scr(); + ardu_utft_set_color(255, 0, 0); + ardu_utft_fill_rect(10, 10, 310, 230); + ardu_utft_set_color(255, 255, 255); + ardu_utft_print("STOP", 170, 120); } void RunningState::Update(float deltaTime)