Type Alias mavio::dialects::avssuas::messages::attitude_target::AttitudeTarget
source · pub type AttitudeTarget = AttitudeTarget;
Expand description
Originally defined in common::messages::attitude_target
.
Aliased Type§
struct AttitudeTarget {
pub time_boot_ms: u32,
pub type_mask: AttitudeTargetTypemask,
pub q: [f32; 4],
pub body_roll_rate: f32,
pub body_pitch_rate: f32,
pub body_yaw_rate: f32,
pub thrust: f32,
}
Fields§
§time_boot_ms: u32
MAVLink field time_boot_ms
.
Timestamp (time since system boot).
type_mask: AttitudeTargetTypemask
MAVLink field type_mask
.
Bitmap to indicate which dimensions should be ignored by the vehicle.
q: [f32; 4]
MAVLink field q
.
Attitude quaternion (w, x, y, z order, zero-rotation is 1, 0, 0, 0)
body_roll_rate: f32
MAVLink field body_roll_rate
.
Body roll rate
body_pitch_rate: f32
MAVLink field body_pitch_rate
.
Body pitch rate
body_yaw_rate: f32
MAVLink field body_yaw_rate
.
Body yaw rate
thrust: f32
MAVLink field thrust
.
Collective thrust, normalized to 0 .. 1 (-1 .. 1 for vehicles capable of reverse trust)