Skip to main content

fde_spp

Function fde_spp 

Source
pub fn fde_spp(
    eph: &dyn EphemerisSource,
    inputs: &SolveInputs,
    with_geodetic: bool,
    options: &FdeSppOptions,
) -> Result<FdeResult<ReceiverSolution>, FdeError<FdeSppError>>
Expand description

Run single-point positioning with RAIM fault detection and exclusion.

Solves solve over the input observation set, applies residual chi-square RAIM via fde, and on a detected fault excludes the worst satellite and re-solves, repeating until the set is self-consistent or the exclusion budget in FdeSppOptions::fde is exhausted. Every candidate solution is screened with validate_receiver_solution using FdeSppOptions::validation. On success returns the protected FdeResult: the surviving ReceiverSolution, the excluded satellite tokens in exclusion order, and the exclusion count.

This is the single core driver the language bindings reduce to. It chains the existing solve, validate_receiver_solution, and fde primitives and adds no detection, exclusion, or solve math of its own, so it is bit-for-bit identical to assembling that loop by hand around the same primitives.