This is some awesome robot code

Dependencies:   mbed-rtos mbed QEI

Fork of ICRSEurobot13 by Thomas Branch

Revision:
39:44d3dea4adcc
Parent:
30:791739422122
Child:
57:d434ceab6892
--- a/Processes/Motion/motion.h	Wed Apr 10 22:30:09 2013 +0000
+++ b/Processes/Motion/motion.h	Thu Apr 11 17:23:07 2013 +0000
@@ -7,13 +7,20 @@
 #include "Kalman.h"
 #include "MotorControl.h"
 #include "supportfuncs.h"
-#include "ai.h"
 
 namespace motion
 {
 
 void motionlayer(void const *dummy);
 
+// can encapsulate mutex fully in motion with something like: bool set_new_wp_if_current_reached()
+void setNewWaypoint(Waypoint *new_wp);
+void setWaypointReached();
+void clearWaypointReached();
+bool checkWaypointStatus();
+
+extern Mutex waypoint_flag_mutex;
+
 }
 
 #endif //EUROBOT_PROCESSES_MOTION_MOTION_H_
\ No newline at end of file