Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cee6a675 authored by Sasha Kuznetsov's avatar Sasha Kuznetsov
Browse files

Clarify environment bearing docs in HAL

Bug: 149299473
Test: build cuttlefish
Change-Id: Ie565d7ec96282985505b41961321998e58554aff
parent 0b0d69e7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -656,7 +656,7 @@ ba5ac712b2a656dc07c83ab4a7a2c2f3bee1bbcb752e8b8ffa9b672f3b5b0728 android.hardwar
7913a11206a577b12ade86a7cf3f95c2639cb514d086673f279bf99238c9917e android.hardware.gnss@2.1::IGnssMeasurement
9999f2484f35ebfacdd433dfeae459f2a582334315959653ec8efde7699ec556 android.hardware.gnss@2.1::IGnssMeasurementCallback
6670e7780803a8c696c6391fda5589a334b1b37dc7be9393792ed35035413633 android.hardware.gnss.measurement_corrections@1.1::IMeasurementCorrections
a3f439b782a6a92aaf3c0250f3526e94e8bf8844c3d578f0815e21b12c431346 android.hardware.gnss.measurement_corrections@1.1::types
a28d6c29a7e36976acffb018208e65b3496d9152d57d864038556cdd83b35744 android.hardware.gnss.measurement_corrections@1.1::types
ce8dbe76eb9ee94b46ef98f725be992e760a5751073d4f4912484026541371f3 android.hardware.health@2.1::IHealth
26f04510a0b57aba5167c5c0a7c2f077c2acbb98b81902a072517829fd9fd67f android.hardware.health@2.1::IHealthInfoCallback
db47f4ceceb1f06c656f39caa70c557b0f8471ef59fd58611bea667ffca20101 android.hardware.health@2.1::types
+11 −2
Original line number Diff line number Diff line
@@ -48,11 +48,20 @@ struct MeasurementCorrections {
     * If the road is curved in the vicinity of the user location, then
     * environmentBearingUncertaintyDegrees will include the amount by which the road direction
     * changes in the area of position uncertainty.
     *
     * hasEnvironmentBearing should be checked to verify the environment bearing is available
     * before calling this method. The value is undefined if hasEnvironmentBearing is false.
     */
    float environmentBearingDegrees;

    /**
     * Bearing uncertainty [0 to 180].
     * Environment bearing uncertainty [0 to 180]. It represents the standard deviation of the
     * physical structure in the circle of position uncertainty. hasEnvironmentBearing becomes false
     * as the uncertainty value passes a predefined threshold depending on the physical structure
     * around the user.
     *
     * hasEnvironmentBearing should be checked to verify the environment bearing is available
     * before calling this method. The value is undefined if hasEnvironmentBearing is false.
     */
    float environmentBearingUncertaintyDegrees;
};