pub struct AttitudeQuaternion {
pub time_boot_ms: u32,
pub q1: f32,
pub q2: f32,
pub q3: f32,
pub q4: f32,
pub rollspeed: f32,
pub pitchspeed: f32,
pub yawspeed: f32,
}Expand description
ATTITUDE_QUATERNION: orientation as a quaternion, with angular rates.
Fields§
§time_boot_ms: u32§q1: f32§q2: f32§q3: f32§q4: f32§rollspeed: f32§pitchspeed: f32§yawspeed: f32Implementations§
Trait Implementations§
Source§impl Clone for AttitudeQuaternion
impl Clone for AttitudeQuaternion
Source§fn clone(&self) -> AttitudeQuaternion
fn clone(&self) -> AttitudeQuaternion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AttitudeQuaternion
Source§impl Debug for AttitudeQuaternion
impl Debug for AttitudeQuaternion
Source§impl Default for AttitudeQuaternion
impl Default for AttitudeQuaternion
Source§impl Message for AttitudeQuaternion
impl Message for AttitudeQuaternion
Source§const NAME: &'static str = "ATTITUDE_QUATERNION"
const NAME: &'static str = "ATTITUDE_QUATERNION"
The message name, such as
"HEARTBEAT", as used to derive CRC_EXTRA.Source§const CRC_EXTRA: u8 = 246
const CRC_EXTRA: u8 = 246
The
CRC_EXTRA seed folded into the checksum of a frame carrying this message.Source§const BASE_FIELDS: &'static [(&'static str, &'static str, u8)]
const BASE_FIELDS: &'static [(&'static str, &'static str, u8)]
The base fields in wire order as
(type, name, array_len), the input from which
CRC_EXTRA is derived and against which it is verified.Source§const DESCRIPTOR: &'static MessageDescriptor<'static>
const DESCRIPTOR: &'static MessageDescriptor<'static>
The message’s shape as data: the runtime counterpart of this type’s fields, for a
caller reading and writing by name rather than through the struct.
Source§impl PartialEq for AttitudeQuaternion
impl PartialEq for AttitudeQuaternion
Source§fn eq(&self, other: &AttitudeQuaternion) -> bool
fn eq(&self, other: &AttitudeQuaternion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AttitudeQuaternion
Auto Trait Implementations§
impl Freeze for AttitudeQuaternion
impl RefUnwindSafe for AttitudeQuaternion
impl Send for AttitudeQuaternion
impl Sync for AttitudeQuaternion
impl Unpin for AttitudeQuaternion
impl UnsafeUnpin for AttitudeQuaternion
impl UnwindSafe for AttitudeQuaternion
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