pub struct LocalPositionNed {
pub time_boot_ms: u32,
pub x: f32,
pub y: f32,
pub z: f32,
pub vx: f32,
pub vy: f32,
pub vz: f32,
}Expand description
LOCAL_POSITION_NED: the vehicle’s local position and velocity in the NED frame.
Fields§
§time_boot_ms: u32§x: f32§y: f32§z: f32§vx: f32§vy: f32§vz: f32Implementations§
Trait Implementations§
Source§impl Clone for LocalPositionNed
impl Clone for LocalPositionNed
Source§fn clone(&self) -> LocalPositionNed
fn clone(&self) -> LocalPositionNed
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LocalPositionNed
Source§impl Debug for LocalPositionNed
impl Debug for LocalPositionNed
Source§impl Default for LocalPositionNed
impl Default for LocalPositionNed
Source§impl Message for LocalPositionNed
impl Message for LocalPositionNed
Source§const NAME: &'static str = "LOCAL_POSITION_NED"
const NAME: &'static str = "LOCAL_POSITION_NED"
The message name, such as
"HEARTBEAT", as used to derive CRC_EXTRA.Source§const CRC_EXTRA: u8 = 185
const CRC_EXTRA: u8 = 185
The
CRC_EXTRA seed folded into the checksum of a frame carrying this message.Source§const BASE_FIELDS: &'static [(&'static str, &'static str, u8)]
const BASE_FIELDS: &'static [(&'static str, &'static str, u8)]
The base fields in wire order as
(type, name, array_len), the input from which
CRC_EXTRA is derived and against which it is verified.Source§const DESCRIPTOR: &'static MessageDescriptor<'static>
const DESCRIPTOR: &'static MessageDescriptor<'static>
The message’s shape as data: the runtime counterpart of this type’s fields, for a
caller reading and writing by name rather than through the struct.
Source§impl PartialEq for LocalPositionNed
impl PartialEq for LocalPositionNed
Source§fn eq(&self, other: &LocalPositionNed) -> bool
fn eq(&self, other: &LocalPositionNed) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LocalPositionNed
Auto Trait Implementations§
impl Freeze for LocalPositionNed
impl RefUnwindSafe for LocalPositionNed
impl Send for LocalPositionNed
impl Sync for LocalPositionNed
impl Unpin for LocalPositionNed
impl UnsafeUnpin for LocalPositionNed
impl UnwindSafe for LocalPositionNed
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