pub fn solve_broadcast(
broadcast: &BroadcastEphemeris,
inputs: &SolveInputs,
with_geodetic: bool,
) -> Result<ReceiverSolution, SppError>Expand description
Solve a receiver position from broadcast ephemeris ALONE: the supported real-time / offline single-point-positioning mode.
This is the explicit broadcast-only entry point. Broadcast ephemeris decoded
from the navigation message is always available and needs no network, so this
is the path a receiver uses when no precise product is on hand. It is a thin,
named wrapper over the generic solve: a
BroadcastEphemeris is an EphemerisSource, so the result is bit-for-bit
identical to calling solve(&broadcast, inputs, with_geodetic). Taking the
concrete BroadcastEphemeris makes the broadcast-only contract explicit in
the type system rather than relying on the caller to pass the right source.
The store can come from a parsed RINEX navigation file
(BroadcastEphemeris::from_nav)
or from records decoded straight off the air via
BroadcastRecord::from_lnav
and BroadcastEphemeris::new,
which closes the lnav::decode -> broadcast source half of the real-time
pipeline.