[][src]Struct mavlink::common::VISION_SPEED_ESTIMATE_DATA

pub struct VISION_SPEED_ESTIMATE_DATA {
    pub usec: u64,
    pub x: f32,
    pub y: f32,
    pub z: f32,
    pub covariance: [f32; 9],
    pub reset_counter: u8,
}

id: 103 Speed estimate from a vision source..

Fields

usec: u64

Timestamp (UNIX time or time since system boot).

x: f32

Global X speed.

y: f32

Global Y speed.

z: f32

Global Z speed.

covariance: [f32; 9]

Row-major representation of 3x3 linear velocity covariance matrix (states: vx, vy, vz; 1st three entries - 1st row, etc.). If unknown, assign NaN value to first element in the array..

reset_counter: u8

Estimate reset counter. This should be incremented when the estimate resets in any of the dimensions (position, velocity, attitude, angular speed). This is designed to be used when e.g an external SLAM system detects a loop-closure and the estimate jumps..

Implementations

impl VISION_SPEED_ESTIMATE_DATA[src]

pub const ENCODED_LEN: usize[src]

pub fn deser(
    version: MavlinkVersion,
    _input: &[u8]
) -> Result<Self, ParserError>
[src]

pub fn ser(&self) -> Vec<u8>[src]

Trait Implementations

impl Clone for VISION_SPEED_ESTIMATE_DATA[src]

impl Debug for VISION_SPEED_ESTIMATE_DATA[src]

impl Default for VISION_SPEED_ESTIMATE_DATA[src]

impl<'de> Deserialize<'de> for VISION_SPEED_ESTIMATE_DATA[src]

impl PartialEq<VISION_SPEED_ESTIMATE_DATA> for VISION_SPEED_ESTIMATE_DATA[src]

impl Serialize for VISION_SPEED_ESTIMATE_DATA[src]

impl StructuralPartialEq for VISION_SPEED_ESTIMATE_DATA[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.