This is some awesome robot code
Dependencies: mbed-rtos mbed QEI
Fork of ICRSEurobot13 by
Diff: globals.h
- Revision:
- 24:50805ef8c499
- Parent:
- 20:70d651156779
- Child:
- 25:b16f1045108f
diff -r 70d651156779 -r 50805ef8c499 globals.h --- 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