summaryrefslogtreecommitdiff
path: root/location
diff options
context:
space:
mode:
authorBhavna Sharma <sbhavna@codeaurora.org>2018-07-20 15:46:02 -0700
committerBhavna Sharma <sbhavna@codeaurora.org>2018-07-23 13:11:31 -0700
commit92e990faf84f7d445f7c29cdf94177a1f9005b16 (patch)
tree2b8df9677d3d3cdd4cd986e6ff85a861a4f4ad34 /location
parent2900a1c570cfcc0ebbbff5fa642e0748be98ed02 (diff)
parent395c8110d6b9c4f09b9f537402fc5656c1557c81 (diff)
downloadgps-92e990faf84f7d445f7c29cdf94177a1f9005b16.tar.gz
Merge remote-tracking branch 'quic/location.lnx.3.0.c5' into
location.lnx.4.0 CRs-Fixed: 2282734 Change-Id: I5911f47d796591474eb19be527499daf758bff03
Diffstat (limited to 'location')
-rw-r--r--location/LocationDataTypes.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/location/LocationDataTypes.h b/location/LocationDataTypes.h
index 1b82e47..1f2a422 100644
--- a/location/LocationDataTypes.h
+++ b/location/LocationDataTypes.h
@@ -128,7 +128,17 @@ typedef enum {
LOCATION_NAV_DATA_HAS_LAT_ACCEL_BIT = (1<<1), // Navigation data has Sideward Acceleration
LOCATION_NAV_DATA_HAS_VERT_ACCEL_BIT = (1<<2), // Navigation data has Vertical Acceleration
LOCATION_NAV_DATA_HAS_YAW_RATE_BIT = (1<<3), // Navigation data has Heading Rate
- LOCATION_NAV_DATA_HAS_PITCH_BIT = (1<<4) // Navigation data has Body pitch
+ LOCATION_NAV_DATA_HAS_PITCH_BIT = (1<<4), // Navigation data has Body pitch
+ // Navigation data has Forward Acceleration uncertainty
+ LOCATION_NAV_DATA_HAS_LONG_ACCEL_UNC_BIT = (1<<5),
+ // Navigation data has Sideward Acceleration uncertainty
+ LOCATION_NAV_DATA_HAS_LAT_ACCEL_UNC_BIT = (1<<6),
+ // Navigation data has Vertical Acceleration uncertainty
+ LOCATION_NAV_DATA_HAS_VERT_ACCEL_UNC_BIT = (1<<7),
+ // Navigation data has Heading Rate uncertainty
+ LOCATION_NAV_DATA_HAS_YAW_RATE_UNC_BIT = (1<<8),
+ // Navigation data has Body pitch uncertainty
+ LOCATION_NAV_DATA_HAS_PITCH_UNC_BIT = (1<<9)
} GnssLocationPosDataBits;
typedef uint32_t GnssLocationInfoFlagMask;
@@ -725,6 +735,11 @@ typedef struct {
float vertAccel; // Vertical Acceleration in body frame (m/s2)
float yawRate; // Heading Rate (Radians/second)
float pitch; // Body pitch (Radians)
+ float longAccelUnc; // Uncertainty of Forward Acceleration in body frame
+ float latAccelUnc; // Uncertainty of Side-ward Acceleration in body frame
+ float vertAccelUnc; // Uncertainty of Vertical Acceleration in body frame
+ float yawRateUnc; // Uncertainty of Heading Rate
+ float pitchUnc; // Uncertainty of Body pitch
} GnssLocationPositionDynamics;
typedef struct {