Struct mavlink::common::VICON_POSITION_ESTIMATE_DATA
source · pub struct VICON_POSITION_ESTIMATE_DATA {
pub usec: u64,
pub x: f32,
pub y: f32,
pub z: f32,
pub roll: f32,
pub pitch: f32,
pub yaw: f32,
pub covariance: [f32; 21],
}
Available on crate feature
common
only.Expand description
id: 104 Global position estimate from a Vicon motion system source..
Fields§
§usec: u64
Timestamp (UNIX time or time since system boot).
x: f32
Global X position.
y: f32
Global Y position.
z: f32
Global Z position.
roll: f32
Roll angle.
pitch: f32
Pitch angle.
yaw: f32
Yaw angle.
covariance: [f32; 21]
Row-major representation of 6x6 pose cross-covariance matrix upper right triangle (states: x, y, z, roll, pitch, yaw; first six entries are the first ROW, next five entries are the second ROW, etc.). If unknown, assign NaN value to first element in the array..
Implementations§
source§impl VICON_POSITION_ESTIMATE_DATA
impl VICON_POSITION_ESTIMATE_DATA
pub const ENCODED_LEN: usize = 116usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for VICON_POSITION_ESTIMATE_DATA
impl Clone for VICON_POSITION_ESTIMATE_DATA
source§fn clone(&self) -> VICON_POSITION_ESTIMATE_DATA
fn clone(&self) -> VICON_POSITION_ESTIMATE_DATA
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 Debug for VICON_POSITION_ESTIMATE_DATA
impl Debug for VICON_POSITION_ESTIMATE_DATA
source§impl<'de> Deserialize<'de> for VICON_POSITION_ESTIMATE_DATA
impl<'de> Deserialize<'de> for VICON_POSITION_ESTIMATE_DATA
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 MessageData for VICON_POSITION_ESTIMATE_DATA
impl MessageData for VICON_POSITION_ESTIMATE_DATA
const ID: u32 = 104u32
const NAME: &'static str = "VICON_POSITION_ESTIMATE"
const EXTRA_CRC: u8 = 56u8
const ENCODED_LEN: usize = 116usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for VICON_POSITION_ESTIMATE_DATA
impl PartialEq for VICON_POSITION_ESTIMATE_DATA
source§fn eq(&self, other: &VICON_POSITION_ESTIMATE_DATA) -> bool
fn eq(&self, other: &VICON_POSITION_ESTIMATE_DATA) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for VICON_POSITION_ESTIMATE_DATA
Auto Trait Implementations§
impl Freeze for VICON_POSITION_ESTIMATE_DATA
impl RefUnwindSafe for VICON_POSITION_ESTIMATE_DATA
impl Send for VICON_POSITION_ESTIMATE_DATA
impl Sync for VICON_POSITION_ESTIMATE_DATA
impl Unpin for VICON_POSITION_ESTIMATE_DATA
impl UnwindSafe for VICON_POSITION_ESTIMATE_DATA
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)