From 92e7f6cc7c470da32240dc6bc0f68c9401601579 Mon Sep 17 00:00:00 2001 From: gomo Date: Thu, 17 Jan 2019 04:06:51 -0800 Subject: [PATCH] Bluesky change Sat LOS field from bool to flaot Bug: 111441283 Test: Existing tests pass. Change-Id: I61eb1979e01c15ac7d1830637d7072b69fa1da28 --- gnss/measurement_corrections/1.0/types.hal | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/gnss/measurement_corrections/1.0/types.hal b/gnss/measurement_corrections/1.0/types.hal index 4b48e4e417..5f207347f2 100644 --- a/gnss/measurement_corrections/1.0/types.hal +++ b/gnss/measurement_corrections/1.0/types.hal @@ -47,8 +47,11 @@ struct SingleSatCorrection { */ float carrierFrequencyHz; - /** True if the satellite is in Line-of-Sight condition */ - bool satIsLos; + /** + * The probability that the satellite is estimated to be in Line-of-Sight condition at the given + * location. + */ + float probSatIsLos; /** * Excess path length to be subtracted from pseudorange before using it in calculating location. @@ -123,8 +126,8 @@ struct ReflectingPlane { /** Bit mask to indicate which values are valid in a SingleSatCorrection object. */ enum GnssSingleSatCorrectionFlags : uint16_t { - /** GnssSingleSatCorrectionFlags has valid satellite-is-line-of-sight field. */ - HAS_SAT_IS_LOS = 0x0001, + /** GnssSingleSatCorrectionFlags has valid satellite-is-line-of-sight-probability field. */ + HAS_SAT_IS_LOS_PROBABILITY = 0x0001, /** GnssSingleSatCorrectionFlags has valid Excess Path Length field. */ HAS_EXCESS_PATH_LENGTH = 0x0002, /** GnssSingleSatCorrectionFlags has valid Excess Path Length Uncertainty field. */