pub struct GLOBAL_VISION_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],
pub reset_counter: u8,
}
Available on crate feature
asluav
only.Expand description
id: 101 Global position/attitude estimate from a vision source..
Fields§
§usec: u64
Timestamp (UNIX time or 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 pose 6x6 cross-covariance matrix upper right triangle (states: x_global, y_global, z_global, 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..
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 GLOBAL_VISION_POSITION_ESTIMATE_DATA
impl GLOBAL_VISION_POSITION_ESTIMATE_DATA
pub const ENCODED_LEN: usize = 117usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for GLOBAL_VISION_POSITION_ESTIMATE_DATA
impl Clone for GLOBAL_VISION_POSITION_ESTIMATE_DATA
source§fn clone(&self) -> GLOBAL_VISION_POSITION_ESTIMATE_DATA
fn clone(&self) -> GLOBAL_VISION_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<'de> Deserialize<'de> for GLOBAL_VISION_POSITION_ESTIMATE_DATA
impl<'de> Deserialize<'de> for GLOBAL_VISION_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 GLOBAL_VISION_POSITION_ESTIMATE_DATA
impl MessageData for GLOBAL_VISION_POSITION_ESTIMATE_DATA
const ID: u32 = 101u32
const NAME: &'static str = "GLOBAL_VISION_POSITION_ESTIMATE"
const EXTRA_CRC: u8 = 102u8
const ENCODED_LEN: usize = 117usize
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 GLOBAL_VISION_POSITION_ESTIMATE_DATA
impl PartialEq for GLOBAL_VISION_POSITION_ESTIMATE_DATA
source§fn eq(&self, other: &GLOBAL_VISION_POSITION_ESTIMATE_DATA) -> bool
fn eq(&self, other: &GLOBAL_VISION_POSITION_ESTIMATE_DATA) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GLOBAL_VISION_POSITION_ESTIMATE_DATA
Auto Trait Implementations§
impl Freeze for GLOBAL_VISION_POSITION_ESTIMATE_DATA
impl RefUnwindSafe for GLOBAL_VISION_POSITION_ESTIMATE_DATA
impl Send for GLOBAL_VISION_POSITION_ESTIMATE_DATA
impl Sync for GLOBAL_VISION_POSITION_ESTIMATE_DATA
impl Unpin for GLOBAL_VISION_POSITION_ESTIMATE_DATA
impl UnwindSafe for GLOBAL_VISION_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
)