GpsLocationExtended: Add heading rate support

Add heading rate for DRE engines to report heading rate

Change-Id: I3ea5921a0cac1b0f7efdaabc2e26d58295deda68
CRs-fixed: 2297348
This commit is contained in:
Bhavna Sharma 2018-08-15 15:17:08 -07:00 committed by Gerrit - the friendly Code Review server
parent 3ee9378ffd
commit d2980eb906

View file

@ -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 {