pub struct SatelliteAPC {
    pub sid: GnssSignal,
    pub sat_info: u8,
    pub svn: u16,
    pub pco: [i16; 3],
    pub pcv: [i8; 21],
}
Expand description

Antenna phase center correction

Contains phase center offset and elevation variation corrections for one signal on a satellite.

Fields

sid: GnssSignal

GNSS signal identifier (16 bit)

sat_info: u8

Additional satellite information

svn: u16

Satellite Code, as defined by IGS. Typically the space vehicle number.

pco: [i16; 3]

Mean phase center offset, X Y and Z axes. See IGS ANTEX file format description for coordinate system definition.

pcv: [i8; 21]

Elevation dependent phase center variations. First element is 0 degrees separation from the Z axis, subsequent elements represent elevation variations in 1 degree increments.

Implementations

Gets the SatelliteType stored in the sat_info bitfield.

Returns Ok if the bitrange contains a known SatelliteType variant. Otherwise the value of the bitrange is returned as an Err(u8). This may be because of a malformed message, or because new variants of SatelliteType were added.

Set the bitrange corresponding to the SatelliteType of the sat_info bitfield.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.