![](/media/cache/profiles/2012_sf_avc_095.jpg.50x50_q85.jpg)
2018 revision to classic DataBus AVC code.
Dependencies: LSM303DLM Servo SerialGraphicLCD L3G4200D IncrementalEncoder SimpleShell
Diff: Logger/Logger.h
- Revision:
- 36:3095e00eef37
- Parent:
- 31:20a95043adb0
diff -r c42e7e29c3bd -r 3095e00eef37 Logger/Logger.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Logger/Logger.h Tue Jan 01 17:44:27 2019 +0000 @@ -0,0 +1,22 @@ +#ifndef __Logger_H +#define __Logger_H + +#include "mbed.h" +#include "SystemState.h" + +class Logger { +public: + Logger(); + void start(); + void stop(); + bool enabled(); + void log_gps(GpsData gd); + void log_sensors(SensorData sd); + void log_estimation(); + +private: + char *_file; + FILE *_fp; +}; + +#endif \ No newline at end of file