Struct mavlink::cubepilot::ODOMETRY_DATA
source · pub struct ODOMETRY_DATA {Show 15 fields
pub time_usec: u64,
pub x: f32,
pub y: f32,
pub z: f32,
pub q: [f32; 4],
pub vx: f32,
pub vy: f32,
pub vz: f32,
pub rollspeed: f32,
pub pitchspeed: f32,
pub yawspeed: f32,
pub pose_covariance: [f32; 21],
pub velocity_covariance: [f32; 21],
pub frame_id: MavFrame,
pub child_frame_id: MavFrame,
}
Fields§
§time_usec: u64
§x: f32
§y: f32
§z: f32
§q: [f32; 4]
§vx: f32
§vy: f32
§vz: f32
§rollspeed: f32
§pitchspeed: f32
§yawspeed: f32
§pose_covariance: [f32; 21]
§velocity_covariance: [f32; 21]
§frame_id: MavFrame
§child_frame_id: MavFrame
Implementations§
source§impl ODOMETRY_DATA
impl ODOMETRY_DATA
pub const ENCODED_LEN: usize = 230usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for ODOMETRY_DATA
impl Clone for ODOMETRY_DATA
source§fn clone(&self) -> ODOMETRY_DATA
fn clone(&self) -> ODOMETRY_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 ODOMETRY_DATA
impl Debug for ODOMETRY_DATA
source§impl Default for ODOMETRY_DATA
impl Default for ODOMETRY_DATA
source§impl<'de> Deserialize<'de> for ODOMETRY_DATA
impl<'de> Deserialize<'de> for ODOMETRY_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 ODOMETRY_DATA
impl MessageData for ODOMETRY_DATA
type Message = MavMessage
const ID: u32 = 331u32
const NAME: &'static str = "ODOMETRY"
const EXTRA_CRC: u8 = 91u8
const ENCODED_LEN: usize = 230usize
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for ODOMETRY_DATA
impl PartialEq for ODOMETRY_DATA
source§fn eq(&self, other: &ODOMETRY_DATA) -> bool
fn eq(&self, other: &ODOMETRY_DATA) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ODOMETRY_DATA
impl Serialize for ODOMETRY_DATA
impl StructuralPartialEq for ODOMETRY_DATA
Auto Trait Implementations§
impl Freeze for ODOMETRY_DATA
impl RefUnwindSafe for ODOMETRY_DATA
impl Send for ODOMETRY_DATA
impl Sync for ODOMETRY_DATA
impl Unpin for ODOMETRY_DATA
impl UnwindSafe for ODOMETRY_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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)