pub struct Attitude {
pub time_boot_ms: u32,
pub roll: f32,
pub pitch: f32,
pub yaw: f32,
pub rollspeed: f32,
pub pitchspeed: f32,
pub yawspeed: f32,
}Expand description
ATTITUDE: the vehicle’s orientation and angular rates in radians.
Fields§
§time_boot_ms: u32§roll: f32§pitch: f32§yaw: f32§rollspeed: f32§pitchspeed: f32§yawspeed: f32Implementations§
Trait Implementations§
impl Copy for Attitude
Source§impl Message for Attitude
impl Message for Attitude
Source§const NAME: &'static str = "ATTITUDE"
const NAME: &'static str = "ATTITUDE"
The message name, such as
"HEARTBEAT", as used to derive CRC_EXTRA.Source§const CRC_EXTRA: u8 = 39
const CRC_EXTRA: u8 = 39
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.
impl StructuralPartialEq for Attitude
Auto Trait Implementations§
impl Freeze for Attitude
impl RefUnwindSafe for Attitude
impl Send for Attitude
impl Sync for Attitude
impl Unpin for Attitude
impl UnsafeUnpin for Attitude
impl UnwindSafe for Attitude
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