From d2980eb906a57d6d2179786d35f681178c76a4b9 Mon Sep 17 00:00:00 2001 From: Bhavna Sharma Date: Wed, 15 Aug 2018 15:17:08 -0700 Subject: [PATCH] GpsLocationExtended: Add heading rate support Add heading rate for DRE engines to report heading rate Change-Id: I3ea5921a0cac1b0f7efdaabc2e26d58295deda68 CRs-fixed: 2297348 --- utils/gps_extended_c.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/utils/gps_extended_c.h b/utils/gps_extended_c.h index 77d09de3..9cc835e5 100644 --- a/utils/gps_extended_c.h +++ b/utils/gps_extended_c.h @@ -363,7 +363,8 @@ typedef uint64_t GpsLocationExtendedFlags; #define GPS_LOCATION_EXTENDED_HAS_LEAP_SECONDS 0x80000000 /** GpsLocationExtended has time uncertainty **/ #define GPS_LOCATION_EXTENDED_HAS_TIME_UNC 0x100000000 - +/** GpsLocationExtended has heading rate **/ +#define GPS_LOCATION_EXTENDED_HAS_HEADING_RATE 0x200000000 typedef uint32_t LocNavSolutionMask; /* Bitmask to specify whether SBAS ionospheric correction is used */ @@ -717,6 +718,10 @@ typedef struct { uint8_t leapSeconds; /** Time uncertainty in milliseconds */ float timeUncMs; + /** Heading Rate is in NED frame. + Range: 0 to 359.999. 946 + Unit: Degrees per Seconds */ + float headingRateDeg; } GpsLocationExtended; enum loc_sess_status {