diff options
author | Bhavna Sharma <sbhavna@codeaurora.org> | 2018-08-15 15:17:08 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-08-22 09:52:44 -0700 |
commit | d2980eb906a57d6d2179786d35f681178c76a4b9 (patch) | |
tree | df4c0b6a7c6bd9a791df25928de9e76bb90518de /utils/gps_extended_c.h | |
parent | 3ee9378ffd23ee7e9789f7225c5479b462eba189 (diff) | |
download | gps-d2980eb906a57d6d2179786d35f681178c76a4b9.tar.gz |
GpsLocationExtended: Add heading rate support
Add heading rate for DRE engines to report heading rate
Change-Id: I3ea5921a0cac1b0f7efdaabc2e26d58295deda68
CRs-fixed: 2297348
Diffstat (limited to 'utils/gps_extended_c.h')
-rw-r--r-- | utils/gps_extended_c.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/utils/gps_extended_c.h b/utils/gps_extended_c.h index 77d09de..9cc835e 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 { |