px4-firmware/msg/control_state.msg

29 lines
1.8 KiB
Plaintext

# This is similar to the mavlink message CONTROL_SYSTEM_STATE, but for onboard use */
uint8 AIRSPD_MODE_MEAS = 0 # airspeed is measured airspeed from sensor
uint8 AIRSPD_MODE_EST = 1 # airspeed is estimated by body velocity
uint8 AIRSPD_MODE_DISABLED = 2 # airspeed is disabled
float32 x_acc # X acceleration in body frame
float32 y_acc # Y acceleration in body frame
float32 z_acc # Z acceleration in body frame
float32 x_vel # X velocity in body frame
float32 y_vel # Y velocity in body frame
float32 z_vel # Z velocity in body frame
float32 x_pos # X position in local earth frame
float32 y_pos # Y position in local earth frame
float32 z_pos # z position in local earth frame
float32 airspeed # Airspeed, estimated
bool airspeed_valid # False: Non-finite values or non-updating sensor
float32[3] vel_variance # Variance in body velocity estimate
float32[3] pos_variance # Variance in local position estimate
float32[4] q # Attitude Quaternion
float32[4] delta_q_reset # Amount by which quaternion has changed during last reset
uint8 quat_reset_counter # Quaternion reset counter
float32 roll_rate # Roll body angular rate (rad/s, x forward/y right/z down) - corrected for bias
float32 pitch_rate # Pitch body angular rate (rad/s, x forward/y right/z down) - corrected for bias
float32 yaw_rate # Yaw body angular rate (rad/s, x forward/y right/z down) - corrected for bias
float32 horz_acc_mag # low pass filtered magnitude of the horizontal acceleration
float32 roll_rate_bias # Roll body angular rate bias (rad/s, x forward) - subtract from uncorrected gyro data
float32 pitch_rate_bias # Pitch body angular rate bias (rad/s, y right) - subtract from uncorrected gyro data
float32 yaw_rate_bias # Yaw body angular rate bias (rad/s, z down) - subtract from uncorrected gyro data