2014 Eurobot fork

Dependencies:   mbed-rtos mbed QEI

Revision:
24:50805ef8c499
Parent:
20:70d651156779
Child:
25:b16f1045108f
--- a/globals.h	Tue Apr 09 15:33:36 2013 +0000
+++ b/globals.h	Tue Apr 09 20:37:59 2013 +0000
@@ -93,4 +93,27 @@
 
 const float PI = 3.14159265359;
 
+typedef struct State 
+{
+    float x;
+    float y;
+    float theta;
+} State;
+
+typedef struct Waypoint
+{
+    float x;
+    float y;
+    float theta;
+    float pos_threshold;
+    float angle_threshold;
+} Waypoint;
+
+//TODO: hack, move to AI layer
+namespace AI
+{
+    Waypoint *current_waypoint; 
+}
+
+
 #endif //GLOBALS_H
\ No newline at end of file