Code for autonomous ground vehicle, Data Bus, 3rd place winner in 2012 Sparkfun AVC.
Dependencies: Watchdog mbed Schedule SimpleFilter LSM303DLM PinDetect DebounceIn Servo
logging/logging.h@0:826c6171fc1b, 2012-06-20 (annotated)
- Committer:
- shimniok
- Date:
- Wed Jun 20 14:57:48 2012 +0000
- Revision:
- 0:826c6171fc1b
Updated documentation
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
shimniok | 0:826c6171fc1b | 1 | #ifndef __LOGGING_H |
shimniok | 0:826c6171fc1b | 2 | #define __LOGGING_H |
shimniok | 0:826c6171fc1b | 3 | |
shimniok | 0:826c6171fc1b | 4 | /** Data logging functions */ |
shimniok | 0:826c6171fc1b | 5 | |
shimniok | 0:826c6171fc1b | 6 | #include "mbed.h" |
shimniok | 0:826c6171fc1b | 7 | #include "SystemState.h" |
shimniok | 0:826c6171fc1b | 8 | |
shimniok | 0:826c6171fc1b | 9 | FILE *openlog(char *prefix); |
shimniok | 0:826c6171fc1b | 10 | bool initLogfile(void); |
shimniok | 0:826c6171fc1b | 11 | void clearState( SystemState *s ); |
shimniok | 0:826c6171fc1b | 12 | void logData( SystemState s ); |
shimniok | 0:826c6171fc1b | 13 | void closeLogfile(void); |
shimniok | 0:826c6171fc1b | 14 | |
shimniok | 0:826c6171fc1b | 15 | #endif |