Struct mavlink::ardupilotmega::VISION_POSITION_DELTA_DATA
source · pub struct VISION_POSITION_DELTA_DATA {
pub time_usec: u64,
pub time_delta_usec: u64,
pub angle_delta: [f32; 3],
pub position_delta: [f32; 3],
pub confidence: f32,
}
Available on crate feature
ardupilotmega
only.Expand description
id: 11011 Camera vision based attitude and position deltas..
Fields§
§time_usec: u64
Timestamp (synced to UNIX time or since system boot)..
time_delta_usec: u64
Time since the last reported camera frame..
angle_delta: [f32; 3]
Defines a rotation vector [roll, pitch, yaw] to the current MAV_FRAME_BODY_FRD from the previous MAV_FRAME_BODY_FRD..
position_delta: [f32; 3]
Change in position to the current MAV_FRAME_BODY_FRD from the previous FRAME_BODY_FRD rotated to the current MAV_FRAME_BODY_FRD..
confidence: f32
Normalised confidence value from 0 to 100..
Implementations§
source§impl VISION_POSITION_DELTA_DATA
impl VISION_POSITION_DELTA_DATA
pub const ENCODED_LEN: usize = 44usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for VISION_POSITION_DELTA_DATA
impl Clone for VISION_POSITION_DELTA_DATA
source§fn clone(&self) -> VISION_POSITION_DELTA_DATA
fn clone(&self) -> VISION_POSITION_DELTA_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_POSITION_DELTA_DATA
impl Debug for VISION_POSITION_DELTA_DATA
source§impl Default for VISION_POSITION_DELTA_DATA
impl Default for VISION_POSITION_DELTA_DATA
source§impl<'de> Deserialize<'de> for VISION_POSITION_DELTA_DATA
impl<'de> Deserialize<'de> for VISION_POSITION_DELTA_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_POSITION_DELTA_DATA
impl MessageData for VISION_POSITION_DELTA_DATA
const ID: u32 = 11_011u32
const NAME: &'static str = "VISION_POSITION_DELTA"
const EXTRA_CRC: u8 = 106u8
const ENCODED_LEN: usize = 44usize
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_POSITION_DELTA_DATA
Auto Trait Implementations§
impl Freeze for VISION_POSITION_DELTA_DATA
impl RefUnwindSafe for VISION_POSITION_DELTA_DATA
impl Send for VISION_POSITION_DELTA_DATA
impl Sync for VISION_POSITION_DELTA_DATA
impl Unpin for VISION_POSITION_DELTA_DATA
impl UnwindSafe for VISION_POSITION_DELTA_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
)