Struct mavlink::asluav::VISION_SPEED_ESTIMATE_DATA
source · 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,
}
Available on crate feature
asluav
only.Expand description
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§
source§impl VISION_SPEED_ESTIMATE_DATA
impl VISION_SPEED_ESTIMATE_DATA
pub const ENCODED_LEN: usize = 57usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for VISION_SPEED_ESTIMATE_DATA
impl Clone for VISION_SPEED_ESTIMATE_DATA
source§fn clone(&self) -> VISION_SPEED_ESTIMATE_DATA
fn clone(&self) -> VISION_SPEED_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 VISION_SPEED_ESTIMATE_DATA
impl Debug for VISION_SPEED_ESTIMATE_DATA
source§impl Default for VISION_SPEED_ESTIMATE_DATA
impl Default for VISION_SPEED_ESTIMATE_DATA
source§impl<'de> Deserialize<'de> for VISION_SPEED_ESTIMATE_DATA
impl<'de> Deserialize<'de> for VISION_SPEED_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 VISION_SPEED_ESTIMATE_DATA
impl MessageData for VISION_SPEED_ESTIMATE_DATA
const ID: u32 = 103u32
const NAME: &'static str = "VISION_SPEED_ESTIMATE"
const EXTRA_CRC: u8 = 208u8
const ENCODED_LEN: usize = 57usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
impl StructuralPartialEq for VISION_SPEED_ESTIMATE_DATA
Auto Trait Implementations§
impl Freeze for VISION_SPEED_ESTIMATE_DATA
impl RefUnwindSafe for VISION_SPEED_ESTIMATE_DATA
impl Send for VISION_SPEED_ESTIMATE_DATA
impl Sync for VISION_SPEED_ESTIMATE_DATA
impl Unpin for VISION_SPEED_ESTIMATE_DATA
impl UnwindSafe for VISION_SPEED_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
)