Skip to main content

Module positioning

Module positioning 

Source
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.
GalileoNequickCoeffs
Galileo broadcast NeQuick-G ionosphere coefficients (ai0, ai1, ai2).
KlobucharCoeffs
Broadcast Klobuchar coefficients for the ionosphere term.
LineOfSight
A line-of-sight unit vector from the receiver toward a satellite, in ECEF.
Observation
A single GPS L1 pseudorange observation.
ReceiverSolution
A receiver position/clock solution with its geometry diagnostics.
RejectedSat
A rejected satellite paired with its rejection reason.
RobustConfig
Opt-in Huber/IRLS robust-reweighting configuration.
SolutionMetadata
Models and convergence detail describing how a solution was produced.
SolveInputs
Everything one SPP solve needs besides the SP3 product itself.
SolvePolicy
Language-independent SPP solve policy used by the public API boundary.
SourcedSolution
A receiver solution paired with the provenance of the ephemeris that produced it.
SurfaceMet
Surface meteorology for the troposphere term.

Enums§

BroadcastReason
Why solve_with_fallback produced a fix from broadcast ephemeris.
DopError
Why a geometry has no finite DOP.
FallbackError
Error from solve_with_fallback, tagged with which path failed.
FixSource
Which ephemeris source produced a SourcedSolution, with its provenance.
RejectionReason
Why a satellite was excluded from the solve, in pinned priority order.
SolvePolicyError
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.
SIGMA0_M
Base measurement standard deviation (m) for the elevation weight model.

Traits§

EphemerisSource
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 SolverRecipe for the trust-region stage.

Type Aliases§

Error
Error type returned by solve.
Solution
Role-oriented alias for a solved receiver state.