K64F based data logger for GPS (ublox MAX M8Q) & 6 Axis Sensor (FXOS8700Q) - Outputs to SD + UDP - Uses FRDM K64F + ublox "Cellular and positioning shield" (3G version)
Dependencies: MAX_M8Q_Capture EthernetInterface FXOS8700Q SDFileSystem eCompass_FPU_Lib mbed-rtos mbed
Diff: MAX_M8Q.h
- Revision:
- 0:77857a36b4ff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MAX_M8Q.h Fri Mar 27 08:35:29 2015 +0000 @@ -0,0 +1,17 @@ +#ifndef MAX_M8Q_H_ +#define MAX_M8Q_H_ + +// Structure that defines the data gathered from the GPS module +typedef struct { + double lat; // GPS Latitude (deg) + double lng; // GPS Longitude (deg) + double alt; // GPS Altitude (m) + char NS; // GPS NS indicator + char EW; // GPS EW indicator + double spd; // GPS Speed (kmph) + double utc; // GPS UTC time (hhmmss.ss) + int dte; // GPS Date (ddmmyy) + +} gpsinfo_t; + + #endif