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:
82:992ba6f31e24
diff -r bdbac82c979b -r c85cb93713b3 StateMachine/StateManager.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/StateMachine/StateManager.h	Tue Apr 18 19:26:33 2017 +0000
@@ -0,0 +1,23 @@
+#pragma once
+#ifndef STATE_MANAGER_H
+#define STATE_MANAGER_H
+
+#include <mbed.h>
+
+class States;
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void state_manager_set_current_state(States* stat);
+
+void state_manager_clear_current_state();
+
+void state_manager_update(float deltaTime);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif //STATE_MANAGER_H
\ No newline at end of file