pub struct MOTION_CUE_EXTRA_DATA {
pub time_boot_ms: u32,
pub vel_roll: f32,
pub vel_pitch: f32,
pub vel_yaw: f32,
pub acc_x: f32,
pub acc_y: f32,
pub acc_z: f32,
}Available on crate feature
marsh only.Expand description
These values are an extra cue that should be added to accelerations and rotations etc. resulting from aircraft state, with the resulting cue being the sum of the latest aircraft and extra values. An example use case would be a cockpit shaker.
ID: 52504
Fields§
§time_boot_ms: u32Timestamp (time since system boot).
vel_roll: f32Roll velocity, positive right.
vel_pitch: f32Pitch velocity, positive nose up.
vel_yaw: f32Yaw velocity, positive right.
acc_x: f32X axis (surge) acceleration, positive forward.
acc_y: f32Y axis (sway) acceleration, positive right.
acc_z: f32Z axis (heave) acceleration, positive down.
Implementations§
Source§impl MOTION_CUE_EXTRA_DATA
impl MOTION_CUE_EXTRA_DATA
pub const ENCODED_LEN: usize = 28usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for MOTION_CUE_EXTRA_DATA
impl Clone for MOTION_CUE_EXTRA_DATA
Source§fn clone(&self) -> MOTION_CUE_EXTRA_DATA
fn clone(&self) -> MOTION_CUE_EXTRA_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 MOTION_CUE_EXTRA_DATA
impl Debug for MOTION_CUE_EXTRA_DATA
Source§impl Default for MOTION_CUE_EXTRA_DATA
impl Default for MOTION_CUE_EXTRA_DATA
Source§impl<'de> Deserialize<'de> for MOTION_CUE_EXTRA_DATA
impl<'de> Deserialize<'de> for MOTION_CUE_EXTRA_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 MOTION_CUE_EXTRA_DATA
impl MessageData for MOTION_CUE_EXTRA_DATA
Source§impl PartialEq for MOTION_CUE_EXTRA_DATA
impl PartialEq for MOTION_CUE_EXTRA_DATA
Source§impl Serialize for MOTION_CUE_EXTRA_DATA
impl Serialize for MOTION_CUE_EXTRA_DATA
impl StructuralPartialEq for MOTION_CUE_EXTRA_DATA
Auto Trait Implementations§
impl Freeze for MOTION_CUE_EXTRA_DATA
impl RefUnwindSafe for MOTION_CUE_EXTRA_DATA
impl Send for MOTION_CUE_EXTRA_DATA
impl Sync for MOTION_CUE_EXTRA_DATA
impl Unpin for MOTION_CUE_EXTRA_DATA
impl UnwindSafe for MOTION_CUE_EXTRA_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