Struct sbp::messages::observation::msg_ephemeris_gps::MsgEphemerisGps
source · [−]pub struct MsgEphemerisGps {Show 24 fields
pub sender_id: Option<u16>,
pub common: EphemerisCommonContent,
pub tgd: f32,
pub c_rs: f32,
pub c_rc: f32,
pub c_uc: f32,
pub c_us: f32,
pub c_ic: f32,
pub c_is: f32,
pub dn: f64,
pub m0: f64,
pub ecc: f64,
pub sqrta: f64,
pub omega0: f64,
pub omegadot: f64,
pub w: f64,
pub inc: f64,
pub inc_dot: f64,
pub af0: f32,
pub af1: f32,
pub af2: f32,
pub toc: GpsTimeSec,
pub iode: u8,
pub iodc: u16,
}
Expand description
Satellite broadcast ephemeris for GPS
The ephemeris message returns a set of satellite orbit parameters that is used to calculate GPS satellite position, velocity, and clock offset. Please see the Navstar GPS Space Segment/Navigation user interfaces (ICD- GPS-200, Table 20-III) for more details.
Fields
sender_id: Option<u16>
The message sender_id
common: EphemerisCommonContent
Values common for all ephemeris types
tgd: f32
Group delay differential between L1 and L2
c_rs: f32
Amplitude of the sine harmonic correction term to the orbit radius
c_rc: f32
Amplitude of the cosine harmonic correction term to the orbit radius
c_uc: f32
Amplitude of the cosine harmonic correction term to the argument of latitude
c_us: f32
Amplitude of the sine harmonic correction term to the argument of latitude
c_ic: f32
Amplitude of the cosine harmonic correction term to the angle of inclination
c_is: f32
Amplitude of the sine harmonic correction term to the angle of inclination
dn: f64
Mean motion difference
m0: f64
Mean anomaly at reference time
ecc: f64
Eccentricity of satellite orbit
sqrta: f64
Square root of the semi-major axis of orbit
omega0: f64
Longitude of ascending node of orbit plane at weekly epoch
omegadot: f64
Rate of right ascension
w: f64
Argument of perigee
inc: f64
Inclination
inc_dot: f64
Inclination first derivative
af0: f32
Polynomial clock correction coefficient (clock bias)
af1: f32
Polynomial clock correction coefficient (clock drift)
af2: f32
Polynomial clock correction coefficient (rate of clock drift)
toc: GpsTimeSec
Clock reference
iode: u8
Issue of ephemeris data
iodc: u16
Issue of clock data
Trait Implementations
sourceimpl Clone for MsgEphemerisGps
impl Clone for MsgEphemerisGps
sourcefn clone(&self) -> MsgEphemerisGps
fn clone(&self) -> MsgEphemerisGps
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl ConcreteMessage for MsgEphemerisGps
impl ConcreteMessage for MsgEphemerisGps
sourceconst MESSAGE_TYPE: u16
const MESSAGE_TYPE: u16
The message type.
sourceconst MESSAGE_NAME: &'static str
const MESSAGE_NAME: &'static str
The message name.
sourceimpl Debug for MsgEphemerisGps
impl Debug for MsgEphemerisGps
sourceimpl From<MsgEphemerisGps> for Sbp
impl From<MsgEphemerisGps> for Sbp
sourcefn from(msg: MsgEphemerisGps) -> Self
fn from(msg: MsgEphemerisGps) -> Self
Performs the conversion.
sourceimpl SbpMessage for MsgEphemerisGps
impl SbpMessage for MsgEphemerisGps
sourcefn message_name(&self) -> &'static str
fn message_name(&self) -> &'static str
Get the message name.
sourcefn message_type(&self) -> u16
fn message_type(&self) -> u16
Get the message type.
sourcefn set_sender_id(&mut self, new_id: u16)
fn set_sender_id(&mut self, new_id: u16)
Set the sender id.
sourcefn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Number of bytes this message will take on the wire.
Auto Trait Implementations
impl RefUnwindSafe for MsgEphemerisGps
impl Send for MsgEphemerisGps
impl Sync for MsgEphemerisGps
impl Unpin for MsgEphemerisGps
impl UnwindSafe for MsgEphemerisGps
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more