Skip to main content

solve_rtk_fixed

Function solve_rtk_fixed 

Source
pub fn solve_rtk_fixed(
    epochs: &[Epoch],
    base: [f64; 3],
    initial_ambiguities: AmbiguitySet<'_>,
    initial_baseline_m: [f64; 3],
    model: &MeasModel,
    opts: ValidatedFixedSolveOpts,
    receiver_antenna_corrections: Option<&ReceiverAntennaCorrections>,
) -> Result<ValidatedFixedBaselineSolution>
Expand description

Lower-level positional form for a static fixed RTK baseline with residual validation/FDE.

New Rust callers should prefer solve_rtk_fixed_with with RtkFixedConfig so units and frame semantics are attached to named fields. base is the known base receiver ECEF/ITRF position in metres. initial_baseline_m is the rover-minus-base ECEF/ITRF baseline seed in metres. initial_ambiguities supplies ambiguity ids, satellite mapping, wavelengths, and offsets for the integer search; wavelengths and offsets are in metres and fixed ambiguity decisions are reported in carrier cycles and metres. Receiver antenna corrections are applied only when Some(_); None is the explicit no-correction case.

This function is kept for existing bindings and delegates to sidereon_core::rtk_filter::solve_fixed_baseline_validated, returning its ValidatedFixedBaselineSolution and mapping any failure to Error::RtkFixed.