pub struct MOTION_PLATFORM_STATE_DATA {Show 21 fields
pub time_boot_ms: u32,
pub x: f32,
pub y: f32,
pub z: f32,
pub roll: f32,
pub pitch: f32,
pub yaw: f32,
pub vel_x: f32,
pub vel_y: f32,
pub vel_z: f32,
pub vel_roll: f32,
pub vel_pitch: f32,
pub vel_yaw: f32,
pub acc_x: f32,
pub acc_y: f32,
pub acc_z: f32,
pub acc_roll: f32,
pub acc_pitch: f32,
pub acc_yaw: f32,
pub health: MotionPlatformHealth,
pub mode: MotionPlatformMode,
}marsh only.Expand description
State report for motion platform used for moving the cockpit with the pilot for motion cueing. This is the primary message for MARSH_TYPE_MOTION_PLATFORM.
ID: 52502
Fields§
§time_boot_ms: u32Timestamp (time since system boot).
x: f32X axis (surge) position, positive forward.
y: f32Y axis (sway) position, positive right.
z: f32Z axis (heave) position, positive down.
roll: f32Roll position, positive right.
pitch: f32Pitch position, positive nose up.
yaw: f32Yaw position, positive right.
vel_x: f32X axis (surge) velocity, positive forward.
vel_y: f32Y axis (sway) velocity, positive right.
vel_z: f32Z axis (heave) velocity, positive down.
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.
acc_roll: f32Roll acceleration, positive right. Unit rad/s/s, currently not part of mavschema.xsd
acc_pitch: f32Pitch acceleration, positive nose up. Unit rad/s/s, currently not part of mavschema.xsd
acc_yaw: f32Yaw acceleration, positive right. Unit rad/s/s, currently not part of mavschema.xsd
health: MotionPlatformHealthGeneric system health (error and warning) status.
mode: MotionPlatformModeGeneric system operating mode.
Implementations§
Source§impl MOTION_PLATFORM_STATE_DATA
impl MOTION_PLATFORM_STATE_DATA
pub const ENCODED_LEN: usize = 78usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for MOTION_PLATFORM_STATE_DATA
impl Clone for MOTION_PLATFORM_STATE_DATA
Source§fn clone(&self) -> MOTION_PLATFORM_STATE_DATA
fn clone(&self) -> MOTION_PLATFORM_STATE_DATA
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more