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
MAX_M8Q.h@3:6085916c9d74, 2015-05-20 (annotated)
- Committer:
- rlinnmoran
- Date:
- Wed May 20 07:14:22 2015 +0000
- Revision:
- 3:6085916c9d74
- Parent:
- 0:77857a36b4ff
First release V1_0
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
rlinnmoran | 0:77857a36b4ff | 1 | #ifndef MAX_M8Q_H_ |
rlinnmoran | 0:77857a36b4ff | 2 | #define MAX_M8Q_H_ |
rlinnmoran | 0:77857a36b4ff | 3 | |
rlinnmoran | 0:77857a36b4ff | 4 | // Structure that defines the data gathered from the GPS module |
rlinnmoran | 0:77857a36b4ff | 5 | typedef struct { |
rlinnmoran | 0:77857a36b4ff | 6 | double lat; // GPS Latitude (deg) |
rlinnmoran | 0:77857a36b4ff | 7 | double lng; // GPS Longitude (deg) |
rlinnmoran | 0:77857a36b4ff | 8 | double alt; // GPS Altitude (m) |
rlinnmoran | 0:77857a36b4ff | 9 | char NS; // GPS NS indicator |
rlinnmoran | 0:77857a36b4ff | 10 | char EW; // GPS EW indicator |
rlinnmoran | 0:77857a36b4ff | 11 | double spd; // GPS Speed (kmph) |
rlinnmoran | 0:77857a36b4ff | 12 | double utc; // GPS UTC time (hhmmss.ss) |
rlinnmoran | 0:77857a36b4ff | 13 | int dte; // GPS Date (ddmmyy) |
rlinnmoran | 0:77857a36b4ff | 14 | |
rlinnmoran | 0:77857a36b4ff | 15 | } gpsinfo_t; |
rlinnmoran | 0:77857a36b4ff | 16 | |
rlinnmoran | 0:77857a36b4ff | 17 | #endif |