3 #define MAVLINK_MSG_ID_PARAM_SET 23 14 #define MAVLINK_MSG_ID_PARAM_SET_LEN 23 15 #define MAVLINK_MSG_ID_23_LEN 23 17 #define MAVLINK_MSG_ID_PARAM_SET_CRC 168 18 #define MAVLINK_MSG_ID_23_CRC 168 20 #define MAVLINK_MSG_PARAM_SET_FIELD_PARAM_ID_LEN 16 22 #define MAVLINK_MESSAGE_INFO_PARAM_SET { \ 25 { { "param_value", NULL, MAVLINK_TYPE_FLOAT, 0, 0, offsetof(mavlink_param_set_t, param_value) }, \ 26 { "target_system", NULL, MAVLINK_TYPE_UINT8_T, 0, 4, offsetof(mavlink_param_set_t, target_system) }, \ 27 { "target_component", NULL, MAVLINK_TYPE_UINT8_T, 0, 5, offsetof(mavlink_param_set_t, target_component) }, \ 28 { "param_id", NULL, MAVLINK_TYPE_CHAR, 16, 6, offsetof(mavlink_param_set_t, param_id) }, \ 29 { "param_type", NULL, MAVLINK_TYPE_UINT8_T, 0, 22, offsetof(mavlink_param_set_t, param_type) }, \ 50 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 90 mavlink_message_t* msg,
93 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 112 #if MAVLINK_CRC_EXTRA 156 #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS 160 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 167 #if MAVLINK_CRC_EXTRA 179 #if MAVLINK_CRC_EXTRA 187 #if MAVLINK_MSG_ID_PARAM_SET_LEN <= MAVLINK_MAX_PAYLOAD_LEN 197 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 198 char *buf = (
char *)msgbuf;
204 #if MAVLINK_CRC_EXTRA 216 #if MAVLINK_CRC_EXTRA 267 return _MAV_RETURN_float(msg, 0);
288 #if MAVLINK_NEED_BYTE_SWAP #define _mav_put_float(buf, wire_offset, b)
static float mavlink_msg_param_set_get_param_value(const mavlink_message_t *msg)
Get field param_value from param_set message.
static uint16_t mavlink_msg_param_set_encode(uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_param_set_t *param_set)
Encode a param_set struct.
static uint16_t mavlink_msg_param_set_encode_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_param_set_t *param_set)
Encode a param_set struct on a channel.
#define _MAV_RETURN_uint8_t(msg, wire_offset)
#define MAVLINK_MSG_ID_PARAM_SET
#define MAVLINK_MSG_ID_PARAM_SET_CRC
static uint16_t mavlink_msg_param_set_get_param_id(const mavlink_message_t *msg, char *param_id)
Get field param_id from param_set message.
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.
struct __mavlink_param_set_t mavlink_param_set_t
#define _mav_put_uint8_t(buf, wire_offset, b)
#define _MAV_PAYLOAD_NON_CONST(msg)
static uint16_t mavlink_msg_param_set_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint8_t target_system, uint8_t target_component, const char *param_id, float param_value, uint8_t param_type)
Pack a param_set message on a channel.
static uint8_t mavlink_msg_param_set_get_target_component(const mavlink_message_t *msg)
Get field target_component from param_set message.
#define _MAV_PAYLOAD(msg)
static void mavlink_msg_param_set_decode(const mavlink_message_t *msg, mavlink_param_set_t *param_set)
Decode a param_set message into a struct.
static void mav_array_memcpy(void *dest, const void *src, size_t n)
static uint16_t _MAV_RETURN_char_array(const mavlink_message_t *msg, char *value, uint8_t array_length, uint8_t wire_offset)
static void _mav_put_char_array(char *buf, uint8_t wire_offset, const char *b, uint8_t array_length)
static uint8_t mavlink_msg_param_set_get_param_type(const mavlink_message_t *msg)
Get field param_type from param_set message.
static uint8_t mavlink_msg_param_set_get_target_system(const mavlink_message_t *msg)
Send a param_set message.
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.
#define MAVLINK_MSG_ID_PARAM_SET_LEN
static uint16_t mavlink_msg_param_set_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint8_t target_system, uint8_t target_component, const char *param_id, float param_value, uint8_t param_type)
Pack a param_set message.