![](/media/cache/profiles/2012_sf_avc_095.jpg.50x50_q85.jpg)
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
logging/logging.h@0:a6a169de725f, 2013-05-27 (annotated)
- Committer:
- shimniok
- Date:
- Mon May 27 13:26:03 2013 +0000
- Revision:
- 0:a6a169de725f
- Child:
- 15:01fb4916a5cd
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 __LOGGING_H |
shimniok | 0:a6a169de725f | 2 | #define __LOGGING_H |
shimniok | 0:a6a169de725f | 3 | |
shimniok | 0:a6a169de725f | 4 | /** Data logging functions */ |
shimniok | 0:a6a169de725f | 5 | |
shimniok | 0:a6a169de725f | 6 | #include "mbed.h" |
shimniok | 0:a6a169de725f | 7 | #include "SystemState.h" |
shimniok | 0:a6a169de725f | 8 | |
shimniok | 0:a6a169de725f | 9 | FILE *openlog(char *prefix); |
shimniok | 0:a6a169de725f | 10 | bool initLogfile(void); |
shimniok | 0:a6a169de725f | 11 | void clearState( SystemState *s ); |
shimniok | 0:a6a169de725f | 12 | void logData( SystemState s ); |
shimniok | 0:a6a169de725f | 13 | void closeLogfile(void); |
shimniok | 0:a6a169de725f | 14 | |
shimniok | 0:a6a169de725f | 15 | #endif |