Expand description
Single-point positioning and GNSS geometry diagnostics.
Re-exports§
pub use crate::quality::spp_robust_fde_driver;pub use crate::quality::FdeError;pub use crate::quality::FdeOptions;pub use crate::quality::FdeResult;pub use crate::quality::FdeSppError;pub use crate::quality::FdeSppOptions;pub use crate::spp::DEFAULT_HUBER_K;pub use crate::spp::TRANSMIT_TIME_ITERATIONS;
Structs§
- Corrections
- Which correction terms a solve applies, building up incrementally.
- Dop
- The dilution-of-precision scalars for a geometry.
- Galileo
Nequick Coeffs - Galileo broadcast NeQuick-G ionosphere coefficients (
ai0,ai1,ai2). - Klobuchar
Coeffs - Broadcast Klobuchar coefficients for the ionosphere term.
- Line
OfSight - A line-of-sight unit vector from the receiver toward a satellite, in ECEF.
- Observation
- A single GPS L1 pseudorange observation.
- Receiver
Solution - A receiver position/clock solution with its geometry diagnostics.
- Rejected
Sat - A rejected satellite paired with its rejection reason.
- Robust
Config - Opt-in Huber/IRLS robust-reweighting configuration.
- Solution
Metadata - Models and convergence detail describing how a solution was produced.
- Solve
Inputs - Everything one SPP solve needs besides the SP3 product itself.
- Solve
Policy - Language-independent SPP solve policy used by the public API boundary.
- Sourced
Solution - A receiver solution paired with the provenance of the ephemeris that produced it.
- Surface
Met - Surface meteorology for the troposphere term.
Enums§
- Broadcast
Reason - Why
solve_with_fallbackproduced a fix from broadcast ephemeris. - DopError
- Why a geometry has no finite DOP.
- Fallback
Error - Error from
solve_with_fallback, tagged with which path failed. - FixSource
- Which ephemeris source produced a
SourcedSolution, with its provenance. - Rejection
Reason - Why a satellite was excluded from the solve, in pinned priority order.
- Solve
Policy Error - Error from
solve_with_policy. - SppError
- Error from
solve.
Constants§
- DEFAULT_
ROBUST_ MAX_ OUTER - Default maximum outer IRLS reweighting iterations (the warm-started static solve at iteration 0 plus reweighted resolves up to this many total).
- DEFAULT_
ROBUST_ OUTER_ TOL_ M - Default outer-loop position step tolerance (m): the outer IRLS loop stops when the L2 norm of the position change between successive reweighted solves drops below this.
- DEFAULT_
ROBUST_ SCALE_ FLOOR_ M - Default robust scale floor (m): the smallest MAD-derived scale allowed, so a near-perfect fit cannot blow up the scaled residuals and down-weight every satellite. Sized to the metre-class code noise of cheap single-frequency receivers.
- ELEVATION_
MASK_ RAD - Elevation mask in radians (10 degrees); a satellite is excluded iff its elevation is strictly below this value.
- SIGM
A0_ M - Base measurement standard deviation (m) for the elevation weight model.
Traits§
- Ephemeris
Source - A source of satellite position and clock at a transmit epoch.
Functions§
- dop
- Compute the DOP scalars from line-of-sight directions, diagonal weights, and the receiver geodetic position.
- residual_
rms - Root-mean-square of post-fit pseudorange residuals (0.0 when empty).
- solve
- Run the SPP solve from synthesized/measured pseudoranges.
- solve_
broadcast - Solve a receiver position from broadcast ephemeris ALONE: the supported real-time / offline single-point-positioning mode.
- solve_
spp_ batch_ parallel - Solve a batch of independent SPP epochs against a shared ephemeris, fanning the independent per-epoch solves across a rayon thread pool.
- solve_
spp_ batch_ serial - Solve a batch of independent SPP epochs against a shared ephemeris, serially.
- solve_
with_ fallback - Solve a receiver position, preferring precise products and falling back to broadcast ephemeris, reporting which source was used and how stale it is.
- solve_
with_ policy - Run SPP under the public API’s language-independent validation/orchestration policy.
- solve_
with_ solver - SPP solve with an explicit
SolverRecipefor the trust-region stage.