2014 Eurobot fork
Dependencies: mbed-rtos mbed QEI
Processes/AI/ai.h@30:791739422122, 2013-04-10 (annotated)
- Committer:
- rsavitski
- Date:
- Wed Apr 10 18:03:32 2013 +0000
- Revision:
- 30:791739422122
- Child:
- 39:44d3dea4adcc
ai layer thread
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
rsavitski | 30:791739422122 | 1 | #ifndef EUROBOT_PROCESSES_AI_AI_H_ |
rsavitski | 30:791739422122 | 2 | #define EUROBOT_PROCESSES_AI_AI_H_ |
rsavitski | 30:791739422122 | 3 | |
rsavitski | 30:791739422122 | 4 | #include "rtos.h" |
rsavitski | 30:791739422122 | 5 | #include "globals.h" |
rsavitski | 30:791739422122 | 6 | |
rsavitski | 30:791739422122 | 7 | namespace AI |
rsavitski | 30:791739422122 | 8 | { |
rsavitski | 30:791739422122 | 9 | |
rsavitski | 30:791739422122 | 10 | void ailayer(void const *dummy); |
rsavitski | 30:791739422122 | 11 | |
rsavitski | 30:791739422122 | 12 | void setWaypointReached(); |
rsavitski | 30:791739422122 | 13 | void clearWaypointReached(); |
rsavitski | 30:791739422122 | 14 | bool checkWaypointStatus(); |
rsavitski | 30:791739422122 | 15 | |
rsavitski | 30:791739422122 | 16 | |
rsavitski | 30:791739422122 | 17 | extern Waypoint *current_waypoint; |
rsavitski | 30:791739422122 | 18 | extern Mutex waypoint_flag_mutex; |
rsavitski | 30:791739422122 | 19 | |
rsavitski | 30:791739422122 | 20 | } |
rsavitski | 30:791739422122 | 21 | |
rsavitski | 30:791739422122 | 22 | #endif |