pub type ControlSystemState = ControlSystemState;Expand description
Originally defined in common::messages::control_system_state.
Aliased Type§
pub struct ControlSystemState {Show 17 fields
pub time_usec: u64,
pub x_acc: f32,
pub y_acc: f32,
pub z_acc: f32,
pub x_vel: f32,
pub y_vel: f32,
pub z_vel: f32,
pub x_pos: f32,
pub y_pos: f32,
pub z_pos: f32,
pub airspeed: f32,
pub vel_variance: [f32; 3],
pub pos_variance: [f32; 3],
pub q: [f32; 4],
pub roll_rate: f32,
pub pitch_rate: f32,
pub yaw_rate: f32,
}Fields§
§time_usec: u64MAVLink field time_usec.
Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude of the number.
x_acc: f32MAVLink field x_acc.
X acceleration in body frame
y_acc: f32MAVLink field y_acc.
Y acceleration in body frame
z_acc: f32MAVLink field z_acc.
Z acceleration in body frame
x_vel: f32MAVLink field x_vel.
X velocity in body frame
y_vel: f32MAVLink field y_vel.
Y velocity in body frame
z_vel: f32MAVLink field z_vel.
Z velocity in body frame
x_pos: f32MAVLink field x_pos.
X position in local frame
y_pos: f32MAVLink field y_pos.
Y position in local frame
z_pos: f32MAVLink field z_pos.
Z position in local frame
airspeed: f32MAVLink field airspeed.
Airspeed, set to -1 if unknown
vel_variance: [f32; 3]MAVLink field vel_variance.
Variance of body velocity estimate
pos_variance: [f32; 3]MAVLink field pos_variance.
Variance in local position
q: [f32; 4]MAVLink field q.
The attitude, represented as Quaternion
roll_rate: f32MAVLink field roll_rate.
Angular rate in roll axis
pitch_rate: f32MAVLink field pitch_rate.
Angular rate in pitch axis
yaw_rate: f32MAVLink field yaw_rate.
Angular rate in yaw axis