diff options
author | gomo <gomo@google.com> | 2019-01-26 03:22:37 -0800 |
---|---|---|
committer | Mohammed Khider <gomo@google.com> | 2019-01-30 02:37:14 +0000 |
commit | 2fa104b2d18d34858769a8345415ac029bc18d3c (patch) | |
tree | 3d77e334f31aacfc5cafca3fd9cef9eea360c86a /gnss | |
parent | 678f001a11dd9f20225fcd22d4be40ef7ef7e87f (diff) | |
download | android_hardware_interfaces-2fa104b2d18d34858769a8345415ac029bc18d3c.tar.gz android_hardware_interfaces-2fa104b2d18d34858769a8345415ac029bc18d3c.tar.bz2 android_hardware_interfaces-2fa104b2d18d34858769a8345415ac029bc18d3c.zip |
Bluesky add position uncertainty field
Add the horizontal position uncertainty for the provided location
by Bluesky at which the corrections are computed.
This is a bug fix as these fields were missing in the original submit.
Bug: 111441283
Test: Existing tests pass.
Change-Id: I3c6df7bcd72d6bab11c4e1cc4908e24034958ad7
Diffstat (limited to 'gnss')
-rw-r--r-- | gnss/measurement_corrections/1.0/types.hal | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/gnss/measurement_corrections/1.0/types.hal b/gnss/measurement_corrections/1.0/types.hal index 5f207347f..edf26bf7c 100644 --- a/gnss/measurement_corrections/1.0/types.hal +++ b/gnss/measurement_corrections/1.0/types.hal @@ -79,18 +79,35 @@ struct SingleSatCorrection { * toaGpsNanosecondsOfWeek */ struct MeasurementCorrections { - /** Represents latitude in degrees. */ + /** Represents latitude in degrees at which the corrections are computed.. */ double latitudeDegrees; - /** Represents longitude in degrees. */ + /** Represents longitude in degrees at which the corrections are computed.. */ double longitudeDegrees; /** - * Represents altitude in meters above the WGS 84 reference ellipsoid. + * Represents altitude in meters above the WGS 84 reference ellipsoid at which the corrections + * are computed. */ double altitudeMeters; - /** Time Of Applicability, GPS time of week */ + /** + * Represents the horizontal uncertainty (68% confidence) in meters on the device position at + * which the corrections are provided. + * + * This value is useful for example to judge how accurate the provided corrections are. + */ + double horizontalPositionUncertaintyMeters; + + /** + * Represents the vertical uncertainty (68% confidence) in meters on the device position at + * which the corrections are provided. + * + * This value is useful for example to judge how accurate the provided corrections are. + */ + double verticalPositionUncertaintyMeters; + + /** Time Of Applicability, GPS time of week in nanoseconds. */ uint64_t toaGpsNanosecondsOfWeek; /** |