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

Branch:
Drift
Revision:
80:c85cb93713b3
Child:
86:51048c1f132f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/StateMachine/StandbyState.h	Tue Apr 18 19:26:33 2017 +0000
@@ -0,0 +1,27 @@
+#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
\ No newline at end of file