Generation 3 of the Harp project
Dependencies: Servo TMP36 GZ buffered-serial1 chan_fatfs_sd nmea_parser watchdog mbed-rtos mbed
Fork of HARP2 by
Diff: GPS/GPS.h
- Revision:
- 2:0c9ade531a5b
- Parent:
- 1:2ace7946a246
- Child:
- 3:9cba44dd2f2b
--- a/GPS/GPS.h Wed Feb 22 04:15:52 2012 +0000 +++ b/GPS/GPS.h Wed Feb 22 04:37:13 2012 +0000 @@ -25,7 +25,6 @@ #ifndef MBED_GPS_H #define MBED_GPS_H -#define NO_MSG 0 #define NO_LOCK 1 #define NOT_PARSED 2 #define PARSED 3 @@ -76,9 +75,21 @@ // RMC - Recommended Minimmum Specific GNS Data char rmc_status; - float ground_speed_k; - float ground_course_d; + float speed_k; + float course_d; int date; + + // GLL + char gll_status; + + // VTG - Course over ground, ground speed + float course_t; // ground speed true + char course_t_unit; + float course_m; // magnetic + char course_m_unit; + char speed_k_unit; + float speed_km; // speek km/hr + char speed_km_unit; }; #endif