Go to the source code of this file.
|
static void | mavlink_msg_extended_sys_state_decode (const mavlink_message_t *msg, mavlink_extended_sys_state_t *extended_sys_state) |
| Decode a extended_sys_state message into a struct. More...
|
|
static uint16_t | mavlink_msg_extended_sys_state_encode (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_extended_sys_state_t *extended_sys_state) |
| Encode a extended_sys_state struct. More...
|
|
static uint16_t | mavlink_msg_extended_sys_state_encode_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_extended_sys_state_t *extended_sys_state) |
| Encode a extended_sys_state struct on a channel. More...
|
|
static uint8_t | mavlink_msg_extended_sys_state_get_landed_state (const mavlink_message_t *msg) |
| Get field landed_state from extended_sys_state message. More...
|
|
static uint8_t | mavlink_msg_extended_sys_state_get_vtol_state (const mavlink_message_t *msg) |
| Send a extended_sys_state message. More...
|
|
static uint16_t | mavlink_msg_extended_sys_state_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint8_t vtol_state, uint8_t landed_state) |
| Pack a extended_sys_state message. More...
|
|
static uint16_t | mavlink_msg_extended_sys_state_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint8_t vtol_state, uint8_t landed_state) |
| Pack a extended_sys_state message on a channel. More...
|
|
#define MAVLINK_MESSAGE_INFO_EXTENDED_SYS_STATE |
#define MAVLINK_MSG_ID_245_CRC 130 |
#define MAVLINK_MSG_ID_245_LEN 2 |
#define MAVLINK_MSG_ID_EXTENDED_SYS_STATE 245 |
#define MAVLINK_MSG_ID_EXTENDED_SYS_STATE_CRC 130 |
#define MAVLINK_MSG_ID_EXTENDED_SYS_STATE_LEN 2 |
Decode a extended_sys_state message into a struct.
- Parameters
-
msg | The message to decode |
extended_sys_state | C-struct to decode the message contents into |
Definition at line 225 of file mavlink_msg_extended_sys_state.h.
static uint16_t mavlink_msg_extended_sys_state_encode |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
mavlink_message_t * |
msg, |
|
|
const mavlink_extended_sys_state_t * |
extended_sys_state |
|
) |
| |
|
inlinestatic |
Encode a extended_sys_state struct.
- Parameters
-
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 |
extended_sys_state | C-struct to read the message contents from |
Definition at line 107 of file mavlink_msg_extended_sys_state.h.
static uint16_t mavlink_msg_extended_sys_state_encode_chan |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
uint8_t |
chan, |
|
|
mavlink_message_t * |
msg, |
|
|
const mavlink_extended_sys_state_t * |
extended_sys_state |
|
) |
| |
|
inlinestatic |
Encode a extended_sys_state struct on a channel.
- Parameters
-
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 |
extended_sys_state | C-struct to read the message contents from |
Definition at line 121 of file mavlink_msg_extended_sys_state.h.
static uint8_t mavlink_msg_extended_sys_state_get_landed_state |
( |
const mavlink_message_t * |
msg | ) |
|
|
inlinestatic |
Get field landed_state from extended_sys_state message.
- Returns
- The landed state. Is set to MAV_LANDED_STATE_UNDEFINED if landed state is unknown.
Definition at line 214 of file mavlink_msg_extended_sys_state.h.
static uint8_t mavlink_msg_extended_sys_state_get_vtol_state |
( |
const mavlink_message_t * |
msg | ) |
|
|
inlinestatic |
Send a extended_sys_state message.
- Parameters
-
chan | MAVLink channel to send the message |
vtol_state | The VTOL state if applicable. Is set to MAV_VTOL_STATE_UNDEFINED if UAV is not in VTOL configuration. |
landed_state | The landed state. Is set to MAV_LANDED_STATE_UNDEFINED if landed state is unknown. Get field vtol_state from extended_sys_state message |
- Returns
- The VTOL state if applicable. Is set to MAV_VTOL_STATE_UNDEFINED if UAV is not in VTOL configuration.
Definition at line 204 of file mavlink_msg_extended_sys_state.h.
static uint16_t mavlink_msg_extended_sys_state_pack |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
mavlink_message_t * |
msg, |
|
|
uint8_t |
vtol_state, |
|
|
uint8_t |
landed_state |
|
) |
| |
|
inlinestatic |
Pack a extended_sys_state message.
- Parameters
-
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 |
vtol_state | The VTOL state if applicable. Is set to MAV_VTOL_STATE_UNDEFINED if UAV is not in VTOL configuration. |
landed_state | The landed state. Is set to MAV_LANDED_STATE_UNDEFINED if landed state is unknown. |
- Returns
- length of the message in bytes (excluding serial stream start sign)
Definition at line 38 of file mavlink_msg_extended_sys_state.h.
static uint16_t mavlink_msg_extended_sys_state_pack_chan |
( |
uint8_t |
system_id, |
|
|
uint8_t |
component_id, |
|
|
uint8_t |
chan, |
|
|
mavlink_message_t * |
msg, |
|
|
uint8_t |
vtol_state, |
|
|
uint8_t |
landed_state |
|
) |
| |
|
inlinestatic |
Pack a extended_sys_state message on a channel.
- Parameters
-
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 |
vtol_state | The VTOL state if applicable. Is set to MAV_VTOL_STATE_UNDEFINED if UAV is not in VTOL configuration. |
landed_state | The landed state. Is set to MAV_LANDED_STATE_UNDEFINED if landed state is unknown. |
- Returns
- length of the message in bytes (excluding serial stream start sign)
Definition at line 73 of file mavlink_msg_extended_sys_state.h.