Eurobot2012_Primary
Dependencies: mbed Eurobot_2012_Primary
Diff: Eurobot_shared/ai/ai.h
- Revision:
- 15:acae5c0e9ca8
- Parent:
- 13:57ea4e520dbd
--- a/Eurobot_shared/ai/ai.h Sat Apr 28 20:44:09 2012 +0000 +++ b/Eurobot_shared/ai/ai.h Sat Apr 28 22:21:03 2012 +0000 @@ -10,13 +10,12 @@ Mutex targetlock; Thread thr_AI; -unsigned int targetnumber; - struct Target { float x; float y; float theta; bool facing; + bool reached; } target; void settarget(float targetX, float targetY, float targetTheta, bool targetfacing = true);