
Go to the source code of this file.
Classes | |
| struct | __mavlink_extended_sys_state_t |
Defines | |
| #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 |
Typedefs | |
| typedef struct __mavlink_extended_sys_state_t | mavlink_extended_sys_state_t |
Functions | |
| 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. | |
| 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. | |
| 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. | |
| 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. | |
| static uint8_t | mavlink_msg_extended_sys_state_get_vtol_state (const mavlink_message_t *msg) |
| Send a extended_sys_state message. | |
| 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. | |
| 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. | |
{ \
"EXTENDED_SYS_STATE", \
2, \
{ { "vtol_state", NULL, MAVLINK_TYPE_UINT8_T, 0, 0, offsetof(mavlink_extended_sys_state_t, vtol_state) }, \
{ "landed_state", NULL, MAVLINK_TYPE_UINT8_T, 0, 1, offsetof(mavlink_extended_sys_state_t, landed_state) }, \
} \
}
Definition at line 19 of file mavlink_msg_extended_sys_state.h.
| #define MAVLINK_MSG_ID_245_CRC 130 |
Definition at line 15 of file mavlink_msg_extended_sys_state.h.
| #define MAVLINK_MSG_ID_245_LEN 2 |
Definition at line 12 of file mavlink_msg_extended_sys_state.h.
| #define MAVLINK_MSG_ID_EXTENDED_SYS_STATE 245 |
Definition at line 3 of file mavlink_msg_extended_sys_state.h.
| #define MAVLINK_MSG_ID_EXTENDED_SYS_STATE_CRC 130 |
Definition at line 14 of file mavlink_msg_extended_sys_state.h.
| #define MAVLINK_MSG_ID_EXTENDED_SYS_STATE_LEN 2 |
Definition at line 11 of file mavlink_msg_extended_sys_state.h.
| typedef struct __mavlink_extended_sys_state_t mavlink_extended_sys_state_t |
| static void mavlink_msg_extended_sys_state_decode | ( | const mavlink_message_t * | msg, |
| mavlink_extended_sys_state_t * | extended_sys_state | ||
| ) | [inline, static] |
Decode a extended_sys_state message into a struct.
| 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 | ||
| ) | [inline, static] |
Encode a extended_sys_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 |
| 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 | ||
| ) | [inline, static] |
Encode a extended_sys_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 |
| 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 | ) | [inline, static] |
Get field landed_state from extended_sys_state message.
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 | ) | [inline, static] |
Send a extended_sys_state message.
| 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 |
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 | ||
| ) | [inline, static] |
Pack a extended_sys_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 |
| 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. |
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 | ||
| ) | [inline, static] |
Pack a extended_sys_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 |
| 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. |
Definition at line 73 of file mavlink_msg_extended_sys_state.h.