This is some awesome robot code
Dependencies: mbed-rtos mbed QEI
Fork of ICRSEurobot13 by
Diff: globals.h
- Revision:
- 17:6263e90bf3ba
- Parent:
- 16:52250d8d8fce
- Child:
- 19:4b993a9a156e
diff -r 52250d8d8fce -r 6263e90bf3ba globals.h --- a/globals.h Sun Apr 07 16:50:36 2013 +0000 +++ b/globals.h Sun Apr 07 17:51:59 2013 +0000 @@ -4,4 +4,11 @@ //(a-f)^2 = x^2 + y^2; (b-f)^2 = (x-3)^2 + y^2; (c-f)^2 = (x-1.5)^2+(y-2)^2: solve for x,y,f //where a, b, c are the measured distances, and f is the bias -const float sonartimebias; // TODO: measure \ No newline at end of file +const float sonartimebias; // TODO: measure + +struct pos { + float x; + float y; +}; + +extern pos beaconpos[3]; \ No newline at end of file