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

Commit 2fa104b2 authored by gomo's avatar gomo Committed by Mohammed Khider
Browse files

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
parent 678f001a
Loading
Loading
Loading
Loading
+21 −4
Original line number Diff line number Diff line
@@ -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;

    /**