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@8:aed35fb80b0f, 2018-11-29 (annotated)
- Committer:
- shimniok
- Date:
- Thu Nov 29 16:14:45 2018 +0000
- Revision:
- 8:aed35fb80b0f
- Parent:
- 2:fbc6e3cf3ed8
- Child:
- 9:39c0ff43332b
Updated with global devices
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 | 8:aed35fb80b0f | 17 | extern Steering steering; |
shimniok | 8:aed35fb80b0f | 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 |