pub struct MsgTrackingStateDetailedDepA {
Show 22 fields pub sender_id: Option<u16>, pub recv_time: u64, pub tot: GpsTime, pub p: u32, pub p_std: u16, pub l: CarrierPhase, pub cn0: u8, pub lock: u16, pub sid: GnssSignal, pub doppler: i32, pub doppler_std: u16, pub uptime: u32, pub clock_offset: i16, pub clock_drift: i16, pub corr_spacing: u16, pub acceleration: i8, pub sync_flags: u8, pub tow_flags: u8, pub track_flags: u8, pub nav_flags: u8, pub pset_flags: u8, pub misc_flags: u8,
}
Expand description

Detailed signal tracking channel states. DEPRECATED

The tracking message returns a set tracking channel parameters for a single tracking channel useful for debugging issues.

Fields

sender_id: Option<u16>

The message sender_id

recv_time: u64

Receiver clock time.

tot: GpsTime

Time of transmission of signal from satellite. TOW only valid when TOW status is decoded or propagated. WN only valid when week number valid flag is set.

p: u32

Pseudorange observation. Valid only when pseudorange valid flag is set.

p_std: u16

Pseudorange observation standard deviation. Valid only when pseudorange valid flag is set.

l: CarrierPhase

Carrier phase observation with typical sign convention. Valid only when PLL pessimistic lock is achieved.

cn0: u8

Carrier-to-Noise density

lock: u16

Lock time. It is encoded according to DF402 from the RTCM 10403.2 Amendment 2 specification. Valid values range from 0 to 15.

sid: GnssSignal

GNSS signal identifier.

doppler: i32

Carrier Doppler frequency.

doppler_std: u16

Carrier Doppler frequency standard deviation.

uptime: u32

Number of seconds of continuous tracking. Specifies how much time signal is in continuous track.

clock_offset: i16

TCXO clock offset. Valid only when valid clock valid flag is set.

clock_drift: i16

TCXO clock drift. Valid only when valid clock valid flag is set.

corr_spacing: u16

Early-Prompt (EP) and Prompt-Late (PL) correlators spacing.

acceleration: i8

Acceleration. Valid only when acceleration valid flag is set.

sync_flags: u8

Synchronization status flags.

tow_flags: u8

TOW status flags.

track_flags: u8

Tracking loop status flags.

nav_flags: u8

Navigation data status flags.

pset_flags: u8

Parameters sets flags.

misc_flags: u8

Miscellaneous flags.

Implementations

Gets the SynchronizationStatus stored in the sync_flags bitfield.

Returns Ok if the bitrange contains a known SynchronizationStatus 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 SynchronizationStatus were added.

Set the bitrange corresponding to the SynchronizationStatus of the sync_flags bitfield.

Gets the WeekNumberValidityStatus stored in the tow_flags bitfield.

Returns Ok if the bitrange contains a known WeekNumberValidityStatus 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 WeekNumberValidityStatus were added.

Set the bitrange corresponding to the WeekNumberValidityStatus of the tow_flags bitfield.

Gets the TowStatus stored in the tow_flags bitfield.

Returns Ok if the bitrange contains a known TowStatus 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 TowStatus were added.

Set the bitrange corresponding to the TowStatus of the tow_flags bitfield.

Gets the FllStatus stored in the track_flags bitfield.

Returns Ok if the bitrange contains a known FllStatus 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 FllStatus were added.

Set the bitrange corresponding to the FllStatus of the track_flags bitfield.

Gets the PllStatus stored in the track_flags bitfield.

Returns Ok if the bitrange contains a known PllStatus 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 PllStatus were added.

Set the bitrange corresponding to the PllStatus of the track_flags bitfield.

Gets the TrackingLoopStatus stored in the track_flags bitfield.

Returns Ok if the bitrange contains a known TrackingLoopStatus 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 TrackingLoopStatus were added.

Set the bitrange corresponding to the TrackingLoopStatus of the track_flags bitfield.

Gets the AlmanacAvailabilityStatus stored in the nav_flags bitfield.

Returns Ok if the bitrange contains a known AlmanacAvailabilityStatus 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 AlmanacAvailabilityStatus were added.

Set the bitrange corresponding to the AlmanacAvailabilityStatus of the nav_flags bitfield.

Gets the EphemerisAvailabilityStatus stored in the nav_flags bitfield.

Returns Ok if the bitrange contains a known EphemerisAvailabilityStatus 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 EphemerisAvailabilityStatus were added.

Set the bitrange corresponding to the EphemerisAvailabilityStatus of the nav_flags bitfield.

Gets the HealthStatus stored in the nav_flags bitfield.

Returns Ok if the bitrange contains a known HealthStatus 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 HealthStatus were added.

Set the bitrange corresponding to the HealthStatus of the nav_flags bitfield.

Gets the ParameterSets stored in the pset_flags bitfield.

Returns Ok if the bitrange contains a known ParameterSets 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 ParameterSets were added.

Set the bitrange corresponding to the ParameterSets of the pset_flags bitfield.

Gets the ClockValidityStatus stored in the misc_flags bitfield.

Returns Ok if the bitrange contains a known ClockValidityStatus 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 ClockValidityStatus were added.

Set the bitrange corresponding to the ClockValidityStatus of the misc_flags bitfield.

Gets the PseudorangeValidityStatus stored in the misc_flags bitfield.

Returns Ok if the bitrange contains a known PseudorangeValidityStatus 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 PseudorangeValidityStatus were added.

Set the bitrange corresponding to the PseudorangeValidityStatus of the misc_flags bitfield.

Gets the AccelerationValidityStatus stored in the misc_flags bitfield.

Returns Ok if the bitrange contains a known AccelerationValidityStatus 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 AccelerationValidityStatus were added.

Set the bitrange corresponding to the AccelerationValidityStatus of the misc_flags bitfield.

Gets the CarrierHalfCycleAmbiguityStatus stored in the misc_flags bitfield.

Returns Ok if the bitrange contains a known CarrierHalfCycleAmbiguityStatus 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 CarrierHalfCycleAmbiguityStatus were added.

Set the bitrange corresponding to the CarrierHalfCycleAmbiguityStatus of the misc_flags bitfield.

Gets the TrackingChannelStatus stored in the misc_flags bitfield.

Returns Ok if the bitrange contains a known TrackingChannelStatus 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 TrackingChannelStatus were added.

Set the bitrange corresponding to the TrackingChannelStatus of the misc_flags bitfield.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

The message type.

The message name.

Formats the value using the given formatter. Read more

Converts to this type from the input type.

Get the message name.

Get the message type.

Get the sender_id if it is set.

Set the sender id.

Number of bytes this message will take on the wire.

The type returned in the event of a conversion error.

Performs the conversion.

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.