Struct sbp::messages::navigation::msg_vel_ned_dep_a::MsgVelNedDepA
source · pub struct MsgVelNedDepA {
pub sender_id: Option<u16>,
pub tow: u32,
pub n: i32,
pub e: i32,
pub d: i32,
pub h_accuracy: u16,
pub v_accuracy: u16,
pub n_sats: u8,
pub flags: u8,
}
Expand description
Deprecated
Deprecated.
Fields§
§sender_id: Option<u16>
The message sender_id
tow: u32
GPS Time of Week
n: i32
Velocity North coordinate
e: i32
Velocity East coordinate
d: i32
Velocity Down coordinate
h_accuracy: u16
Horizontal velocity accuracy estimate (not implemented). Defaults to 0.
v_accuracy: u16
Vertical velocity accuracy estimate (not implemented). Defaults to 0.
n_sats: u8
Number of satellites used in solution
flags: u8
Status flags (reserved)
Trait Implementations§
source§impl Clone for MsgVelNedDepA
impl Clone for MsgVelNedDepA
source§fn clone(&self) -> MsgVelNedDepA
fn clone(&self) -> MsgVelNedDepA
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl ConcreteMessage for MsgVelNedDepA
impl ConcreteMessage for MsgVelNedDepA
source§const MESSAGE_TYPE: u16 = 517u16
const MESSAGE_TYPE: u16 = 517u16
The message type.
source§const MESSAGE_NAME: &'static str = "MSG_VEL_NED_DEP_A"
const MESSAGE_NAME: &'static str = "MSG_VEL_NED_DEP_A"
The message name.
source§impl Debug for MsgVelNedDepA
impl Debug for MsgVelNedDepA
source§impl<'de> Deserialize<'de> for MsgVelNedDepA
impl<'de> Deserialize<'de> for MsgVelNedDepA
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FriendlyName for MsgVelNedDepA
impl FriendlyName for MsgVelNedDepA
fn friendly_name() -> &'static str
source§impl From<MsgVelNedDepA> for Sbp
impl From<MsgVelNedDepA> for Sbp
source§fn from(msg: MsgVelNedDepA) -> Self
fn from(msg: MsgVelNedDepA) -> Self
Converts to this type from the input type.
source§impl PartialEq for MsgVelNedDepA
impl PartialEq for MsgVelNedDepA
source§fn eq(&self, other: &MsgVelNedDepA) -> bool
fn eq(&self, other: &MsgVelNedDepA) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SbpMessage for MsgVelNedDepA
impl SbpMessage for MsgVelNedDepA
source§fn message_name(&self) -> &'static str
fn message_name(&self) -> &'static str
Get the message name.
source§fn message_type(&self) -> Option<u16>
fn message_type(&self) -> Option<u16>
Get the message type.
source§fn set_sender_id(&mut self, new_id: u16)
fn set_sender_id(&mut self, new_id: u16)
Set the sender id.
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Number of bytes this message will take on the wire.
source§fn is_valid(&self) -> bool
fn is_valid(&self) -> bool
Tells you if the message is valid or if it is not a valid message and may need to be
special cased at certain points.
fn into_valid_msg(self) -> Result<Self, Invalid>
source§fn gps_time(&self) -> Option<Result<MessageTime, GpsTimeError>>
fn gps_time(&self) -> Option<Result<MessageTime, GpsTimeError>>
Get the GPS time associated with the message.
source§fn friendly_name(&self) -> &'static str
fn friendly_name(&self) -> &'static str
Get friendly name associated with the message.
source§impl Serialize for MsgVelNedDepA
impl Serialize for MsgVelNedDepA
source§impl TryFrom<Sbp> for MsgVelNedDepA
impl TryFrom<Sbp> for MsgVelNedDepA
impl StructuralPartialEq for MsgVelNedDepA
Auto Trait Implementations§
impl Freeze for MsgVelNedDepA
impl RefUnwindSafe for MsgVelNedDepA
impl Send for MsgVelNedDepA
impl Sync for MsgVelNedDepA
impl Unpin for MsgVelNedDepA
impl UnwindSafe for MsgVelNedDepA
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Event for Twhere
T: ConcreteMessage,
impl<T> Event for Twhere
T: ConcreteMessage,
source§const MESSAGE_TYPES: &'static [u16] = const MESSAGE_TYPES: &'static [u16] = &[T::MESSAGE_TYPE];
const MESSAGE_TYPES: &'static [u16] = const MESSAGE_TYPES: &'static [u16] = &[T::MESSAGE_TYPE];
The message types that correspond to this event. An empty slice means all messages.