diff options
author | gomo <gomo@google.com> | 2019-01-17 04:06:51 -0800 |
---|---|---|
committer | gomo <gomo@google.com> | 2019-01-17 20:37:02 -0800 |
commit | 92e7f6cc7c470da32240dc6bc0f68c9401601579 (patch) | |
tree | 39e691cbdd4e563c763f6819312dc35539fd2768 /gnss | |
parent | 9c3e195ebf37473d97b8cfe2b81c61d8ad702fc0 (diff) | |
download | android_hardware_interfaces-92e7f6cc7c470da32240dc6bc0f68c9401601579.tar.gz android_hardware_interfaces-92e7f6cc7c470da32240dc6bc0f68c9401601579.tar.bz2 android_hardware_interfaces-92e7f6cc7c470da32240dc6bc0f68c9401601579.zip |
Bluesky change Sat LOS field from bool to flaot
Bug: 111441283
Test: Existing tests pass.
Change-Id: I61eb1979e01c15ac7d1830637d7072b69fa1da28
Diffstat (limited to 'gnss')
-rw-r--r-- | gnss/measurement_corrections/1.0/types.hal | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gnss/measurement_corrections/1.0/types.hal b/gnss/measurement_corrections/1.0/types.hal index 4b48e4e41..5f207347f 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. */ |