This is some awesome robot code
Dependencies: mbed-rtos mbed QEI
Fork of ICRSEurobot13 by
Diff: globals.h
- Revision:
- 33:a49197572737
- Parent:
- 32:e3f633620816
- Child:
- 44:555136de33e4
- Child:
- 47:fc471218af95
diff -r e3f633620816 -r a49197572737 globals.h --- a/globals.h Wed Apr 10 18:25:16 2013 +0000 +++ b/globals.h Wed Apr 10 19:52:19 2013 +0000 @@ -19,7 +19,7 @@ const float angvarpertime = 0;//0.001; const float MOTORCONTROLLER_FILTER_K = 0.5;// TODO: tune this -const float MOTOR_MAX_POWER = 0.4f; +const float MOTOR_MAX_POWER = 0.5f; /* PINOUT Sensors @@ -106,4 +106,11 @@ float angle_threshold; } Waypoint; +typedef struct State +{ + float x; + float y; + float theta; +} State; + #endif //GLOBALS_H \ No newline at end of file