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
sourceimpl 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
sourceimpl Clone for MsgInsUpdates
impl Clone for MsgInsUpdates
sourcefn clone(&self) -> MsgInsUpdates
fn clone(&self) -> MsgInsUpdates
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 MsgInsUpdates
impl ConcreteMessage for MsgInsUpdates
sourceconst MESSAGE_TYPE: u16 = 65_286u16
const MESSAGE_TYPE: u16 = 65_286u16
The message type.
sourceconst MESSAGE_NAME: &'static str = "MSG_INS_UPDATES"
const MESSAGE_NAME: &'static str = "MSG_INS_UPDATES"
The message name.
sourceimpl Debug for MsgInsUpdates
impl Debug for MsgInsUpdates
sourceimpl From<MsgInsUpdates> for Sbp
impl From<MsgInsUpdates> for Sbp
sourcefn from(msg: MsgInsUpdates) -> Self
fn from(msg: MsgInsUpdates) -> Self
Converts to this type from the input type.
sourceimpl SbpMessage for MsgInsUpdates
impl SbpMessage for MsgInsUpdates
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 MsgInsUpdates
impl Send for MsgInsUpdates
impl Sync for MsgInsUpdates
impl Unpin for MsgInsUpdates
impl UnwindSafe for MsgInsUpdates
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more