ICRS Eurobot 2013
Dependencies: mbed mbed-rtos Servo QEI
Diff: globals.h
- Revision:
- 19:4b993a9a156e
- Parent:
- 17:6263e90bf3ba
- Child:
- 20:70d651156779
--- a/globals.h Sun Apr 07 17:51:59 2013 +0000 +++ b/globals.h Sun Apr 07 19:26:07 2013 +0000 @@ -4,11 +4,13 @@ //(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 +//const float sonartimebias = 0; // TODO: measure and stick in the coprocessor code struct pos { float x; float y; }; -extern pos beaconpos[3]; \ No newline at end of file +extern pos beaconpos[3]; + +const float PI = 3.14159265359; \ No newline at end of file