pub struct ATTITUDE_QUATERNION_COV_DATA {
pub time_usec: u64,
pub q: [f32; 4],
pub rollspeed: f32,
pub pitchspeed: f32,
pub yawspeed: f32,
pub covariance: [f32; 9],
}Available on crate feature
asluav only.Expand description
The attitude in the aeronautical frame (right-handed, Z-down, X-front, Y-right), expressed as quaternion. Quaternion order is w, x, y, z and a zero rotation would be expressed as (1 0 0 0).
ID: 61
Fields§
§time_usec: u64Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude of the number.
q: [f32; 4]Quaternion components, w, x, y, z (1 0 0 0 is the null-rotation)
rollspeed: f32Roll angular speed
pitchspeed: f32Pitch angular speed
yawspeed: f32Yaw angular speed
covariance: [f32; 9]Row-major representation of a 3x3 attitude covariance matrix (states: roll, pitch, yaw; first three entries are the first ROW, next three entries are the second row, etc.). If unknown, assign NaN value to first element in the array.
Implementations§
Source§impl ATTITUDE_QUATERNION_COV_DATA
impl ATTITUDE_QUATERNION_COV_DATA
pub const ENCODED_LEN: usize = 72usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for ATTITUDE_QUATERNION_COV_DATA
impl Clone for ATTITUDE_QUATERNION_COV_DATA
Source§fn clone(&self) -> ATTITUDE_QUATERNION_COV_DATA
fn clone(&self) -> ATTITUDE_QUATERNION_COV_DATA
Returns a duplicate 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 ATTITUDE_QUATERNION_COV_DATA
impl Debug for ATTITUDE_QUATERNION_COV_DATA
Source§impl<'de> Deserialize<'de> for ATTITUDE_QUATERNION_COV_DATA
impl<'de> Deserialize<'de> for ATTITUDE_QUATERNION_COV_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 ATTITUDE_QUATERNION_COV_DATA
impl MessageData for ATTITUDE_QUATERNION_COV_DATA
Source§impl PartialEq for ATTITUDE_QUATERNION_COV_DATA
impl PartialEq for ATTITUDE_QUATERNION_COV_DATA
Source§fn eq(&self, other: &ATTITUDE_QUATERNION_COV_DATA) -> bool
fn eq(&self, other: &ATTITUDE_QUATERNION_COV_DATA) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ATTITUDE_QUATERNION_COV_DATA
Auto Trait Implementations§
impl Freeze for ATTITUDE_QUATERNION_COV_DATA
impl RefUnwindSafe for ATTITUDE_QUATERNION_COV_DATA
impl Send for ATTITUDE_QUATERNION_COV_DATA
impl Sync for ATTITUDE_QUATERNION_COV_DATA
impl Unpin for ATTITUDE_QUATERNION_COV_DATA
impl UnwindSafe for ATTITUDE_QUATERNION_COV_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