Code for autonomous rover for Sparkfun AVC. DataBus won 3rd in 2012 and the same code was used on Troubled Child, a 1986 Jeep Grand Wagoneer to win 1st in 2014.
Dependencies: mbed Watchdog SDFileSystem DigoleSerialDisp
globals.h@23:a34af501ea89, 2018-11-30 (annotated)
- Committer:
- shimniok
- Date:
- Fri Nov 30 15:41:05 2018 +0000
- Revision:
- 23:a34af501ea89
- Parent:
- 20:1c2067937065
Disabled PinDetect code (for now); fixed attach() calls in various functions to use new callback class.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
shimniok | 0:a6a169de725f | 1 | #ifndef __GLOBALS_H |
shimniok | 0:a6a169de725f | 2 | #define __GLOBALS_H |
shimniok | 0:a6a169de725f | 3 | |
shimniok | 0:a6a169de725f | 4 | /** Global parameters */ |
shimniok | 0:a6a169de725f | 5 | |
shimniok | 2:fbc6e3cf3ed8 | 6 | #define PI 3.1415926535897932 |
shimniok | 2:fbc6e3cf3ed8 | 7 | |
shimniok | 0:a6a169de725f | 8 | // Waypoint queue parameters |
shimniok | 0:a6a169de725f | 9 | #define MAXWPT 10 |
shimniok | 0:a6a169de725f | 10 | #define ENDWPT 9999.0 |
shimniok | 0:a6a169de725f | 11 | |
shimniok | 8:aed35fb80b0f | 12 | #include "Steering.h" |
shimniok | 8:aed35fb80b0f | 13 | #include "Buttons.h" |
shimniok | 8:aed35fb80b0f | 14 | #include "Serial.h" |
shimniok | 8:aed35fb80b0f | 15 | #include "SerialGraphicLCD.h" |
shimniok | 8:aed35fb80b0f | 16 | |
shimniok | 20:1c2067937065 | 17 | extern Steering steering; |
shimniok | 23:a34af501ea89 | 18 | //extern Serial pc; |
shimniok | 8:aed35fb80b0f | 19 | extern SerialGraphicLCD lcd; |
shimniok | 8:aed35fb80b0f | 20 | extern Buttons keypad; |
shimniok | 8:aed35fb80b0f | 21 | |
shimniok | 8:aed35fb80b0f | 22 | #endif |