3 #define MAVLINK_MSG_ID_ROSFLIGHT_CONFIG 201 11 #define MAVLINK_MSG_ID_ROSFLIGHT_CONFIG_LEN 2 12 #define MAVLINK_MSG_ID_201_LEN 2 14 #define MAVLINK_MSG_ID_ROSFLIGHT_CONFIG_CRC 248 15 #define MAVLINK_MSG_ID_201_CRC 248 19 #define MAVLINK_MESSAGE_INFO_ROSFLIGHT_CONFIG { \ 22 { { "device", NULL, MAVLINK_TYPE_UINT8_T, 0, 0, offsetof(mavlink_rosflight_config_t, device) }, \ 23 { "config", NULL, MAVLINK_TYPE_UINT8_T, 0, 1, offsetof(mavlink_rosflight_config_t, config) }, \ 41 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 74 mavlink_message_t* msg,
77 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 133 #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS 137 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 142 #if MAVLINK_CRC_EXTRA 152 #if MAVLINK_CRC_EXTRA 160 #if MAVLINK_MSG_ID_ROSFLIGHT_CONFIG_LEN <= MAVLINK_MAX_PAYLOAD_LEN 170 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 171 char *buf = (
char *)msgbuf;
175 #if MAVLINK_CRC_EXTRA 185 #if MAVLINK_CRC_EXTRA 227 #if MAVLINK_NEED_BYTE_SWAP #define _MAV_RETURN_uint8_t(msg, wire_offset)
static uint16_t mavlink_msg_rosflight_config_encode(uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_rosflight_config_t *rosflight_config)
Encode a rosflight_config struct.
MAVLINK_HELPER uint16_t mavlink_finalize_message(mavlink_message_t *msg, uint8_t system_id, uint8_t component_id, uint8_t length)
Finalize a MAVLink message with MAVLINK_COMM_0 as default channel.
#define _mav_put_uint8_t(buf, wire_offset, b)
#define _MAV_PAYLOAD_NON_CONST(msg)
static void mavlink_msg_rosflight_config_decode(const mavlink_message_t *msg, mavlink_rosflight_config_t *rosflight_config)
Decode a rosflight_config message into a struct.
static uint16_t mavlink_msg_rosflight_config_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint8_t device, uint8_t config)
Pack a rosflight_config message on a channel.
#define MAVLINK_MSG_ID_ROSFLIGHT_CONFIG
#define _MAV_PAYLOAD(msg)
static uint16_t mavlink_msg_rosflight_config_encode_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_rosflight_config_t *rosflight_config)
Encode a rosflight_config struct on a channel.
#define MAVLINK_MSG_ID_ROSFLIGHT_CONFIG_LEN
static uint8_t mavlink_msg_rosflight_config_get_config(const mavlink_message_t *msg)
Get field config from rosflight_config message.
static uint8_t mavlink_msg_rosflight_config_get_device(const mavlink_message_t *msg)
Send a rosflight_config message.
static uint16_t mavlink_msg_rosflight_config_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint8_t device, uint8_t config)
Pack a rosflight_config message.
#define MAVLINK_MSG_ID_ROSFLIGHT_CONFIG_CRC
struct __mavlink_rosflight_config_t mavlink_rosflight_config_t
MAVLINK_HELPER uint16_t mavlink_finalize_message_chan(mavlink_message_t *msg, uint8_t system_id, uint8_t component_id, uint8_t chan, uint8_t length)
Finalize a MAVLink message with channel assignment.