Struct sbp::messages::system::msg_ins_updates::MsgInsUpdates
source · pub struct MsgInsUpdates {
pub sender_id: Option<u16>,
pub tow: u32,
pub gnsspos: u8,
pub gnssvel: u8,
pub wheelticks: u8,
pub speed: u8,
pub nhc: u8,
pub zerovel: u8,
}
Expand description
Inertial Navigation System update status message
The INS update status message contains information about executed and rejected INS updates. This message is expected to be extended in the future as new types of measurements are being added.
Fields§
§sender_id: Option<u16>
The message sender_id
tow: u32
GPS Time of Week
gnsspos: u8
GNSS position update status flags
gnssvel: u8
GNSS velocity update status flags
wheelticks: u8
Wheelticks update status flags
speed: u8
Wheelticks update status flags
nhc: u8
NHC update status flags
zerovel: u8
Zero velocity update status flags
Implementations§
source§impl MsgInsUpdates
impl MsgInsUpdates
sourcepub fn number_of_attempted_gnss_position_updates_since_last_message(&self) -> u8
pub fn number_of_attempted_gnss_position_updates_since_last_message(&self) -> u8
Gets the number_of_attempted_gnss_position_updates_since_last_message
stored in gnsspos
.
sourcepub fn set_number_of_attempted_gnss_position_updates_since_last_message(
&mut self,
number_of_attempted_gnss_position_updates_since_last_message: u8
)
pub fn set_number_of_attempted_gnss_position_updates_since_last_message( &mut self, number_of_attempted_gnss_position_updates_since_last_message: u8 )
Sets the number_of_attempted_gnss_position_updates_since_last_message
bitrange of gnsspos
.
sourcepub fn number_of_rejected_gnss_position_updates_since_last_message(&self) -> u8
pub fn number_of_rejected_gnss_position_updates_since_last_message(&self) -> u8
Gets the number_of_rejected_gnss_position_updates_since_last_message
stored in gnsspos
.
sourcepub fn set_number_of_rejected_gnss_position_updates_since_last_message(
&mut self,
number_of_rejected_gnss_position_updates_since_last_message: u8
)
pub fn set_number_of_rejected_gnss_position_updates_since_last_message( &mut self, number_of_rejected_gnss_position_updates_since_last_message: u8 )
Sets the number_of_rejected_gnss_position_updates_since_last_message
bitrange of gnsspos
.
sourcepub fn number_of_attempted_gnss_velocity_updates_since_last_message(&self) -> u8
pub fn number_of_attempted_gnss_velocity_updates_since_last_message(&self) -> u8
Gets the number_of_attempted_gnss_velocity_updates_since_last_message
stored in gnssvel
.
sourcepub fn set_number_of_attempted_gnss_velocity_updates_since_last_message(
&mut self,
number_of_attempted_gnss_velocity_updates_since_last_message: u8
)
pub fn set_number_of_attempted_gnss_velocity_updates_since_last_message( &mut self, number_of_attempted_gnss_velocity_updates_since_last_message: u8 )
Sets the number_of_attempted_gnss_velocity_updates_since_last_message
bitrange of gnssvel
.
sourcepub fn number_of_rejected_gnss_velocity_updates_since_last_message(&self) -> u8
pub fn number_of_rejected_gnss_velocity_updates_since_last_message(&self) -> u8
Gets the number_of_rejected_gnss_velocity_updates_since_last_message
stored in gnssvel
.
sourcepub fn set_number_of_rejected_gnss_velocity_updates_since_last_message(
&mut self,
number_of_rejected_gnss_velocity_updates_since_last_message: u8
)
pub fn set_number_of_rejected_gnss_velocity_updates_since_last_message( &mut self, number_of_rejected_gnss_velocity_updates_since_last_message: u8 )
Sets the number_of_rejected_gnss_velocity_updates_since_last_message
bitrange of gnssvel
.
sourcepub fn number_of_attempted_wheeltick_updates_since_last_message(&self) -> u8
pub fn number_of_attempted_wheeltick_updates_since_last_message(&self) -> u8
Gets the number_of_attempted_wheeltick_updates_since_last_message
stored in wheelticks
.
sourcepub fn set_number_of_attempted_wheeltick_updates_since_last_message(
&mut self,
number_of_attempted_wheeltick_updates_since_last_message: u8
)
pub fn set_number_of_attempted_wheeltick_updates_since_last_message( &mut self, number_of_attempted_wheeltick_updates_since_last_message: u8 )
Sets the number_of_attempted_wheeltick_updates_since_last_message
bitrange of wheelticks
.
sourcepub fn number_of_rejected_wheeltick_updates_since_last_message(&self) -> u8
pub fn number_of_rejected_wheeltick_updates_since_last_message(&self) -> u8
Gets the number_of_rejected_wheeltick_updates_since_last_message
stored in wheelticks
.
sourcepub fn set_number_of_rejected_wheeltick_updates_since_last_message(
&mut self,
number_of_rejected_wheeltick_updates_since_last_message: u8
)
pub fn set_number_of_rejected_wheeltick_updates_since_last_message( &mut self, number_of_rejected_wheeltick_updates_since_last_message: u8 )
Sets the number_of_rejected_wheeltick_updates_since_last_message
bitrange of wheelticks
.
sourcepub fn number_of_attempted_speed_updates_since_last_message(&self) -> u8
pub fn number_of_attempted_speed_updates_since_last_message(&self) -> u8
Gets the number_of_attempted_speed_updates_since_last_message
stored in speed
.
sourcepub fn set_number_of_attempted_speed_updates_since_last_message(
&mut self,
number_of_attempted_speed_updates_since_last_message: u8
)
pub fn set_number_of_attempted_speed_updates_since_last_message( &mut self, number_of_attempted_speed_updates_since_last_message: u8 )
Sets the number_of_attempted_speed_updates_since_last_message
bitrange of speed
.
sourcepub fn number_of_rejected_speed_updates_since_last_message(&self) -> u8
pub fn number_of_rejected_speed_updates_since_last_message(&self) -> u8
Gets the number_of_rejected_speed_updates_since_last_message
stored in speed
.
sourcepub fn set_number_of_rejected_speed_updates_since_last_message(
&mut self,
number_of_rejected_speed_updates_since_last_message: u8
)
pub fn set_number_of_rejected_speed_updates_since_last_message( &mut self, number_of_rejected_speed_updates_since_last_message: u8 )
Sets the number_of_rejected_speed_updates_since_last_message
bitrange of speed
.
sourcepub fn number_of_attempted_nhc_updates_since_last_message(&self) -> u8
pub fn number_of_attempted_nhc_updates_since_last_message(&self) -> u8
Gets the number_of_attempted_nhc_updates_since_last_message
stored in nhc
.
sourcepub fn set_number_of_attempted_nhc_updates_since_last_message(
&mut self,
number_of_attempted_nhc_updates_since_last_message: u8
)
pub fn set_number_of_attempted_nhc_updates_since_last_message( &mut self, number_of_attempted_nhc_updates_since_last_message: u8 )
Sets the number_of_attempted_nhc_updates_since_last_message
bitrange of nhc
.
sourcepub fn number_of_rejected_nhc_updates_since_last_message(&self) -> u8
pub fn number_of_rejected_nhc_updates_since_last_message(&self) -> u8
Gets the number_of_rejected_nhc_updates_since_last_message
stored in nhc
.
sourcepub fn set_number_of_rejected_nhc_updates_since_last_message(
&mut self,
number_of_rejected_nhc_updates_since_last_message: u8
)
pub fn set_number_of_rejected_nhc_updates_since_last_message( &mut self, number_of_rejected_nhc_updates_since_last_message: u8 )
Sets the number_of_rejected_nhc_updates_since_last_message
bitrange of nhc
.
sourcepub fn number_of_attempted_zero_velocity_updates_since_last_message(&self) -> u8
pub fn number_of_attempted_zero_velocity_updates_since_last_message(&self) -> u8
Gets the number_of_attempted_zero_velocity_updates_since_last_message
stored in zerovel
.
sourcepub fn set_number_of_attempted_zero_velocity_updates_since_last_message(
&mut self,
number_of_attempted_zero_velocity_updates_since_last_message: u8
)
pub fn set_number_of_attempted_zero_velocity_updates_since_last_message( &mut self, number_of_attempted_zero_velocity_updates_since_last_message: u8 )
Sets the number_of_attempted_zero_velocity_updates_since_last_message
bitrange of zerovel
.
sourcepub fn number_of_rejected_zero_velocity_updates_since_last_message(&self) -> u8
pub fn number_of_rejected_zero_velocity_updates_since_last_message(&self) -> u8
Gets the number_of_rejected_zero_velocity_updates_since_last_message
stored in zerovel
.
sourcepub fn set_number_of_rejected_zero_velocity_updates_since_last_message(
&mut self,
number_of_rejected_zero_velocity_updates_since_last_message: u8
)
pub fn set_number_of_rejected_zero_velocity_updates_since_last_message( &mut self, number_of_rejected_zero_velocity_updates_since_last_message: u8 )
Sets the number_of_rejected_zero_velocity_updates_since_last_message
bitrange of zerovel
.
Trait Implementations§
source§impl Clone for MsgInsUpdates
impl Clone for MsgInsUpdates
source§fn clone(&self) -> MsgInsUpdates
fn clone(&self) -> MsgInsUpdates
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl ConcreteMessage for MsgInsUpdates
impl ConcreteMessage for MsgInsUpdates
source§const MESSAGE_TYPE: u16 = 65_286u16
const MESSAGE_TYPE: u16 = 65_286u16
source§const MESSAGE_NAME: &'static str = "MSG_INS_UPDATES"
const MESSAGE_NAME: &'static str = "MSG_INS_UPDATES"
source§impl Debug for MsgInsUpdates
impl Debug for MsgInsUpdates
source§impl<'de> Deserialize<'de> for MsgInsUpdates
impl<'de> Deserialize<'de> for MsgInsUpdates
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl FriendlyName for MsgInsUpdates
impl FriendlyName for MsgInsUpdates
fn friendly_name() -> &'static str
source§impl From<MsgInsUpdates> for Sbp
impl From<MsgInsUpdates> for Sbp
source§fn from(msg: MsgInsUpdates) -> Self
fn from(msg: MsgInsUpdates) -> Self
source§impl PartialEq for MsgInsUpdates
impl PartialEq for MsgInsUpdates
source§fn eq(&self, other: &MsgInsUpdates) -> bool
fn eq(&self, other: &MsgInsUpdates) -> bool
self
and other
values to be equal, and is used
by ==
.