pub struct PreciseEphemerisStateSample {
pub sat: GnssSatelliteId,
pub epoch: Instant,
pub position_ecef_m: [f64; 3],
pub velocity_ecef_m_s: [f64; 3],
pub clock_s: Option<f64>,
pub clock_rate_s_s: Option<f64>,
pub clock_event: bool,
}Expand description
One precise-ephemeris state sample with ECEF position and velocity.
This is the state-bearing companion to PreciseEphemerisSample. It is
emitted only when a source carries a real SP3 velocity record. Positions are
ITRF/IGS ECEF meters and velocities are ITRF/IGS ECEF meters per second.
Fields§
§sat: GnssSatelliteIdThe satellite this sample describes.
epoch: InstantThe sample epoch, tagged with its time scale.
position_ecef_m: [f64; 3]Satellite position in the ITRF/IGS ECEF frame, meters.
velocity_ecef_m_s: [f64; 3]Satellite velocity in the ITRF/IGS ECEF frame, meters per second.
clock_s: Option<f64>Satellite clock offset in seconds (None when no clock estimate exists).
clock_rate_s_s: Option<f64>Satellite clock-rate in seconds per second, when supplied by the source.
clock_event: boolWhether this epoch carries the SP3 E clock-event flag.
Implementations§
Trait Implementations§
Source§impl Clone for PreciseEphemerisStateSample
impl Clone for PreciseEphemerisStateSample
Source§fn clone(&self) -> PreciseEphemerisStateSample
fn clone(&self) -> PreciseEphemerisStateSample
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PreciseEphemerisStateSample
Source§impl Debug for PreciseEphemerisStateSample
impl Debug for PreciseEphemerisStateSample
impl StructuralPartialEq for PreciseEphemerisStateSample
Auto Trait Implementations§
impl Freeze for PreciseEphemerisStateSample
impl RefUnwindSafe for PreciseEphemerisStateSample
impl Send for PreciseEphemerisStateSample
impl Sync for PreciseEphemerisStateSample
impl Unpin for PreciseEphemerisStateSample
impl UnsafeUnpin for PreciseEphemerisStateSample
impl UnwindSafe for PreciseEphemerisStateSample
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Scalar for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.