Go to the source code of this file.
Classes | |
struct | __mavlink_control_system_state_t |
Macros | |
#define | MAVLINK_MESSAGE_INFO_CONTROL_SYSTEM_STATE |
#define | MAVLINK_MSG_CONTROL_SYSTEM_STATE_FIELD_POS_VARIANCE_LEN 3 |
#define | MAVLINK_MSG_CONTROL_SYSTEM_STATE_FIELD_Q_LEN 4 |
#define | MAVLINK_MSG_CONTROL_SYSTEM_STATE_FIELD_VEL_VARIANCE_LEN 3 |
#define | MAVLINK_MSG_ID_146_CRC 103 |
#define | MAVLINK_MSG_ID_146_LEN 100 |
#define | MAVLINK_MSG_ID_CONTROL_SYSTEM_STATE 146 |
#define | MAVLINK_MSG_ID_CONTROL_SYSTEM_STATE_CRC 103 |
#define | MAVLINK_MSG_ID_CONTROL_SYSTEM_STATE_LEN 100 |
Typedefs | |
typedef struct __mavlink_control_system_state_t | mavlink_control_system_state_t |
Functions | |
static void | mavlink_msg_control_system_state_decode (const mavlink_message_t *msg, mavlink_control_system_state_t *control_system_state) |
Decode a control_system_state message into a struct. More... | |
static uint16_t | mavlink_msg_control_system_state_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_control_system_state_t *control_system_state) |
Encode a control_system_state struct. More... | |
static uint16_t | mavlink_msg_control_system_state_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_control_system_state_t *control_system_state) |
Encode a control_system_state struct on a channel. More... | |
static float | mavlink_msg_control_system_state_get_airspeed (const mavlink_message_t *msg) |
Get field airspeed from control_system_state message. More... | |
static float | mavlink_msg_control_system_state_get_pitch_rate (const mavlink_message_t *msg) |
Get field pitch_rate from control_system_state message. More... | |
static uint16_t | mavlink_msg_control_system_state_get_pos_variance (const mavlink_message_t *msg, float *pos_variance) |
Get field pos_variance from control_system_state message. More... | |
static uint16_t | mavlink_msg_control_system_state_get_q (const mavlink_message_t *msg, float *q) |
Get field q from control_system_state message. More... | |
static float | mavlink_msg_control_system_state_get_roll_rate (const mavlink_message_t *msg) |
Get field roll_rate from control_system_state message. More... | |
static uint64_t | mavlink_msg_control_system_state_get_time_usec (const mavlink_message_t *msg) |
Send a control_system_state message. More... | |
static uint16_t | mavlink_msg_control_system_state_get_vel_variance (const mavlink_message_t *msg, float *vel_variance) |
Get field vel_variance from control_system_state message. More... | |
static float | mavlink_msg_control_system_state_get_x_acc (const mavlink_message_t *msg) |
Get field x_acc from control_system_state message. More... | |
static float | mavlink_msg_control_system_state_get_x_pos (const mavlink_message_t *msg) |
Get field x_pos from control_system_state message. More... | |
static float | mavlink_msg_control_system_state_get_x_vel (const mavlink_message_t *msg) |
Get field x_vel from control_system_state message. More... | |
static float | mavlink_msg_control_system_state_get_y_acc (const mavlink_message_t *msg) |
Get field y_acc from control_system_state message. More... | |
static float | mavlink_msg_control_system_state_get_y_pos (const mavlink_message_t *msg) |
Get field y_pos from control_system_state message. More... | |
static float | mavlink_msg_control_system_state_get_y_vel (const mavlink_message_t *msg) |
Get field y_vel from control_system_state message. More... | |
static float | mavlink_msg_control_system_state_get_yaw_rate (const mavlink_message_t *msg) |
Get field yaw_rate from control_system_state message. More... | |
static float | mavlink_msg_control_system_state_get_z_acc (const mavlink_message_t *msg) |
Get field z_acc from control_system_state message. More... | |
static float | mavlink_msg_control_system_state_get_z_pos (const mavlink_message_t *msg) |
Get field z_pos from control_system_state message. More... | |
static float | mavlink_msg_control_system_state_get_z_vel (const mavlink_message_t *msg) |
Get field z_vel from control_system_state message. More... | |
static uint16_t | mavlink_msg_control_system_state_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint64_t time_usec, float x_acc, float y_acc, float z_acc, float x_vel, float y_vel, float z_vel, float x_pos, float y_pos, float z_pos, float airspeed, const float *vel_variance, const float *pos_variance, const float *q, float roll_rate, float pitch_rate, float yaw_rate) |
Pack a control_system_state message. More... | |
static uint16_t | mavlink_msg_control_system_state_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint64_t time_usec, float x_acc, float y_acc, float z_acc, float x_vel, float y_vel, float z_vel, float x_pos, float y_pos, float z_pos, float airspeed, const float *vel_variance, const float *pos_variance, const float *q, float roll_rate, float pitch_rate, float yaw_rate) |
Pack a control_system_state message on a channel. More... | |
#define MAVLINK_MESSAGE_INFO_CONTROL_SYSTEM_STATE |
Definition at line 36 of file mavlink_msg_control_system_state.h.
#define MAVLINK_MSG_CONTROL_SYSTEM_STATE_FIELD_POS_VARIANCE_LEN 3 |
Definition at line 33 of file mavlink_msg_control_system_state.h.
#define MAVLINK_MSG_CONTROL_SYSTEM_STATE_FIELD_Q_LEN 4 |
Definition at line 34 of file mavlink_msg_control_system_state.h.
#define MAVLINK_MSG_CONTROL_SYSTEM_STATE_FIELD_VEL_VARIANCE_LEN 3 |
Definition at line 32 of file mavlink_msg_control_system_state.h.
#define MAVLINK_MSG_ID_146_CRC 103 |
Definition at line 30 of file mavlink_msg_control_system_state.h.
#define MAVLINK_MSG_ID_146_LEN 100 |
Definition at line 27 of file mavlink_msg_control_system_state.h.
#define MAVLINK_MSG_ID_CONTROL_SYSTEM_STATE 146 |
Definition at line 3 of file mavlink_msg_control_system_state.h.
#define MAVLINK_MSG_ID_CONTROL_SYSTEM_STATE_CRC 103 |
Definition at line 29 of file mavlink_msg_control_system_state.h.
#define MAVLINK_MSG_ID_CONTROL_SYSTEM_STATE_LEN 100 |
Definition at line 26 of file mavlink_msg_control_system_state.h.
typedef struct __mavlink_control_system_state_t mavlink_control_system_state_t |
|
inlinestatic |
Decode a control_system_state message into a struct.
msg | The message to decode |
control_system_state | C-struct to decode the message contents into |
Definition at line 564 of file mavlink_msg_control_system_state.h.
|
inlinestatic |
Encode a control_system_state struct.
system_id | ID of this system |
component_id | ID of this component (e.g. 200 for IMU) |
msg | The MAVLink message to compress the data into |
control_system_state | C-struct to read the message contents from |
Definition at line 225 of file mavlink_msg_control_system_state.h.
|
inlinestatic |
Encode a control_system_state struct on a channel.
system_id | ID of this system |
component_id | ID of this component (e.g. 200 for IMU) |
chan | The MAVLink channel this message will be sent over |
msg | The MAVLink message to compress the data into |
control_system_state | C-struct to read the message contents from |
Definition at line 239 of file mavlink_msg_control_system_state.h.
|
inlinestatic |
Get field airspeed from control_system_state message.
Definition at line 493 of file mavlink_msg_control_system_state.h.
|
inlinestatic |
Get field pitch_rate from control_system_state message.
Definition at line 543 of file mavlink_msg_control_system_state.h.
|
inlinestatic |
Get field pos_variance from control_system_state message.
Definition at line 513 of file mavlink_msg_control_system_state.h.
|
inlinestatic |
Get field q from control_system_state message.
Definition at line 523 of file mavlink_msg_control_system_state.h.
|
inlinestatic |
Get field roll_rate from control_system_state message.
Definition at line 533 of file mavlink_msg_control_system_state.h.
|
inlinestatic |
Send a control_system_state message.
chan | MAVLink channel to send the message |
time_usec | Timestamp (micros since boot or Unix epoch) |
x_acc | X acceleration in body frame |
y_acc | Y acceleration in body frame |
z_acc | Z acceleration in body frame |
x_vel | X velocity in body frame |
y_vel | Y velocity in body frame |
z_vel | Z velocity in body frame |
x_pos | X position in local frame |
y_pos | Y position in local frame |
z_pos | Z position in local frame |
airspeed | Airspeed, set to -1 if unknown |
vel_variance | Variance of body velocity estimate |
pos_variance | Variance in local position |
q | The attitude, represented as Quaternion |
roll_rate | Angular rate in roll axis |
pitch_rate | Angular rate in pitch axis |
yaw_rate | Angular rate in yaw axis Get field time_usec from control_system_state message |
Definition at line 393 of file mavlink_msg_control_system_state.h.
|
inlinestatic |
Get field vel_variance from control_system_state message.
Definition at line 503 of file mavlink_msg_control_system_state.h.
|
inlinestatic |
Get field x_acc from control_system_state message.
Definition at line 403 of file mavlink_msg_control_system_state.h.
|
inlinestatic |
Get field x_pos from control_system_state message.
Definition at line 463 of file mavlink_msg_control_system_state.h.
|
inlinestatic |
Get field x_vel from control_system_state message.
Definition at line 433 of file mavlink_msg_control_system_state.h.
|
inlinestatic |
Get field y_acc from control_system_state message.
Definition at line 413 of file mavlink_msg_control_system_state.h.
|
inlinestatic |
Get field y_pos from control_system_state message.
Definition at line 473 of file mavlink_msg_control_system_state.h.
|
inlinestatic |
Get field y_vel from control_system_state message.
Definition at line 443 of file mavlink_msg_control_system_state.h.
|
inlinestatic |
Get field yaw_rate from control_system_state message.
Definition at line 553 of file mavlink_msg_control_system_state.h.
|
inlinestatic |
Get field z_acc from control_system_state message.
Definition at line 423 of file mavlink_msg_control_system_state.h.
|
inlinestatic |
Get field z_pos from control_system_state message.
Definition at line 483 of file mavlink_msg_control_system_state.h.
|
inlinestatic |
Get field z_vel from control_system_state message.
Definition at line 453 of file mavlink_msg_control_system_state.h.
|
inlinestatic |
Pack a control_system_state message.
system_id | ID of this system |
component_id | ID of this component (e.g. 200 for IMU) |
msg | The MAVLink message to compress the data into |
time_usec | Timestamp (micros since boot or Unix epoch) |
x_acc | X acceleration in body frame |
y_acc | Y acceleration in body frame |
z_acc | Z acceleration in body frame |
x_vel | X velocity in body frame |
y_vel | Y velocity in body frame |
z_vel | Z velocity in body frame |
x_pos | X position in local frame |
y_pos | Y position in local frame |
z_pos | Z position in local frame |
airspeed | Airspeed, set to -1 if unknown |
vel_variance | Variance of body velocity estimate |
pos_variance | Variance in local position |
q | The attitude, represented as Quaternion |
roll_rate | Angular rate in roll axis |
pitch_rate | Angular rate in pitch axis |
yaw_rate | Angular rate in yaw axis |
Definition at line 85 of file mavlink_msg_control_system_state.h.
|
inlinestatic |
Pack a control_system_state message on a channel.
system_id | ID of this system |
component_id | ID of this component (e.g. 200 for IMU) |
chan | The MAVLink channel this message will be sent over |
msg | The MAVLink message to compress the data into |
time_usec | Timestamp (micros since boot or Unix epoch) |
x_acc | X acceleration in body frame |
y_acc | Y acceleration in body frame |
z_acc | Z acceleration in body frame |
x_vel | X velocity in body frame |
y_vel | Y velocity in body frame |
z_vel | Z velocity in body frame |
x_pos | X position in local frame |
y_pos | Y position in local frame |
z_pos | Z position in local frame |
airspeed | Airspeed, set to -1 if unknown |
vel_variance | Variance of body velocity estimate |
pos_variance | Variance in local position |
q | The attitude, represented as Quaternion |
roll_rate | Angular rate in roll axis |
pitch_rate | Angular rate in pitch axis |
yaw_rate | Angular rate in yaw axis |
Definition at line 163 of file mavlink_msg_control_system_state.h.