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
UI/LCD/GPSStatus.h@0:a6a169de725f, 2013-05-27 (annotated)
- Committer:
- shimniok
- Date:
- Mon May 27 13:26:03 2013 +0000
- Revision:
- 0:a6a169de725f
Working version with priorities set and update time display
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
shimniok | 0:a6a169de725f | 1 | #ifndef __GPSSTATUS_H |
shimniok | 0:a6a169de725f | 2 | #define __GPSSTATUS_H |
shimniok | 0:a6a169de725f | 3 | |
shimniok | 0:a6a169de725f | 4 | #include "SerialGraphicLCD.h" |
shimniok | 0:a6a169de725f | 5 | |
shimniok | 0:a6a169de725f | 6 | class GPSStatus { |
shimniok | 0:a6a169de725f | 7 | public: |
shimniok | 0:a6a169de725f | 8 | GPSStatus(int x, int y); |
shimniok | 0:a6a169de725f | 9 | void init(); |
shimniok | 0:a6a169de725f | 10 | void update(float hdop); |
shimniok | 0:a6a169de725f | 11 | |
shimniok | 0:a6a169de725f | 12 | static SerialGraphicLCD *lcd; |
shimniok | 0:a6a169de725f | 13 | |
shimniok | 0:a6a169de725f | 14 | private: |
shimniok | 0:a6a169de725f | 15 | int _x; |
shimniok | 0:a6a169de725f | 16 | int _y; |
shimniok | 0:a6a169de725f | 17 | int _s; |
shimniok | 0:a6a169de725f | 18 | float _min; |
shimniok | 0:a6a169de725f | 19 | float _max; |
shimniok | 0:a6a169de725f | 20 | char _n; |
shimniok | 0:a6a169de725f | 21 | int _last; |
shimniok | 0:a6a169de725f | 22 | }; |
shimniok | 0:a6a169de725f | 23 | |
shimniok | 0:a6a169de725f | 24 | #endif |