Skip to main content

solve_position

Function solve_position 

Source
pub fn solve_position<S>(
    source: &S,
    base_position_m: [f64; 3],
    base_observations: &[CodeObservation],
    rover_observations: &[CodeObservation],
    solve_inputs: SolveInputs,
    with_geodetic: bool,
) -> Result<PositionSolution, DgnssError>
Expand description

Compute DGNSS corrections, apply them to rover observations, and solve SPP.

solve_inputs supplies the receive-time scalars, initial guess, meteorology, Klobuchar coefficients, and optional Huber configuration. Its observations and atmospheric-correction flags are replaced: DGNSS solves the corrected rover pseudoranges with ionosphere/troposphere disabled because the differential already removed common path delays.