3 #define MAVLINK_MSG_ID_SET_POSITION_TARGET_GLOBAL_INT 86 25 #define MAVLINK_MSG_ID_SET_POSITION_TARGET_GLOBAL_INT_LEN 53 26 #define MAVLINK_MSG_ID_86_LEN 53 28 #define MAVLINK_MSG_ID_SET_POSITION_TARGET_GLOBAL_INT_CRC 5 29 #define MAVLINK_MSG_ID_86_CRC 5 33 #define MAVLINK_MESSAGE_INFO_SET_POSITION_TARGET_GLOBAL_INT { \ 34 "SET_POSITION_TARGET_GLOBAL_INT", \ 36 { { "time_boot_ms", NULL, MAVLINK_TYPE_UINT32_T, 0, 0, offsetof(mavlink_set_position_target_global_int_t, time_boot_ms) }, \ 37 { "lat_int", NULL, MAVLINK_TYPE_INT32_T, 0, 4, offsetof(mavlink_set_position_target_global_int_t, lat_int) }, \ 38 { "lon_int", NULL, MAVLINK_TYPE_INT32_T, 0, 8, offsetof(mavlink_set_position_target_global_int_t, lon_int) }, \ 39 { "alt", NULL, MAVLINK_TYPE_FLOAT, 0, 12, offsetof(mavlink_set_position_target_global_int_t, alt) }, \ 40 { "vx", NULL, MAVLINK_TYPE_FLOAT, 0, 16, offsetof(mavlink_set_position_target_global_int_t, vx) }, \ 41 { "vy", NULL, MAVLINK_TYPE_FLOAT, 0, 20, offsetof(mavlink_set_position_target_global_int_t, vy) }, \ 42 { "vz", NULL, MAVLINK_TYPE_FLOAT, 0, 24, offsetof(mavlink_set_position_target_global_int_t, vz) }, \ 43 { "afx", NULL, MAVLINK_TYPE_FLOAT, 0, 28, offsetof(mavlink_set_position_target_global_int_t, afx) }, \ 44 { "afy", NULL, MAVLINK_TYPE_FLOAT, 0, 32, offsetof(mavlink_set_position_target_global_int_t, afy) }, \ 45 { "afz", NULL, MAVLINK_TYPE_FLOAT, 0, 36, offsetof(mavlink_set_position_target_global_int_t, afz) }, \ 46 { "yaw", NULL, MAVLINK_TYPE_FLOAT, 0, 40, offsetof(mavlink_set_position_target_global_int_t, yaw) }, \ 47 { "yaw_rate", NULL, MAVLINK_TYPE_FLOAT, 0, 44, offsetof(mavlink_set_position_target_global_int_t, yaw_rate) }, \ 48 { "type_mask", NULL, MAVLINK_TYPE_UINT16_T, 0, 48, offsetof(mavlink_set_position_target_global_int_t, type_mask) }, \ 49 { "target_system", NULL, MAVLINK_TYPE_UINT8_T, 0, 50, offsetof(mavlink_set_position_target_global_int_t, target_system) }, \ 50 { "target_component", NULL, MAVLINK_TYPE_UINT8_T, 0, 51, offsetof(mavlink_set_position_target_global_int_t, target_component) }, \ 51 { "coordinate_frame", NULL, MAVLINK_TYPE_UINT8_T, 0, 52, offsetof(mavlink_set_position_target_global_int_t, coordinate_frame) }, \ 81 uint32_t
time_boot_ms, uint8_t
target_system, uint8_t
target_component, uint8_t
coordinate_frame, uint16_t
type_mask, int32_t
lat_int, int32_t
lon_int,
float alt,
float vx,
float vy,
float vz,
float afx,
float afy,
float afz,
float yaw,
float yaw_rate)
83 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 126 #if MAVLINK_CRC_EXTRA 158 mavlink_message_t* msg,
159 uint32_t
time_boot_ms,uint8_t
target_system,uint8_t
target_component,uint8_t
coordinate_frame,uint16_t
type_mask,int32_t
lat_int,int32_t
lon_int,
float alt,
float vx,
float vy,
float vz,
float afx,
float afy,
float afz,
float yaw,
float yaw_rate)
161 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 204 #if MAVLINK_CRC_EXTRA 221 return mavlink_msg_set_position_target_global_int_pack(system_id, component_id, msg, set_position_target_global_int->
time_boot_ms, set_position_target_global_int->
target_system, set_position_target_global_int->
target_component, set_position_target_global_int->
coordinate_frame, set_position_target_global_int->
type_mask, set_position_target_global_int->
lat_int, set_position_target_global_int->
lon_int, set_position_target_global_int->
alt, set_position_target_global_int->
vx, set_position_target_global_int->
vy, set_position_target_global_int->
vz, set_position_target_global_int->
afx, set_position_target_global_int->
afy, set_position_target_global_int->
afz, set_position_target_global_int->
yaw, set_position_target_global_int->
yaw_rate);
235 return mavlink_msg_set_position_target_global_int_pack_chan(system_id, component_id, chan, msg, set_position_target_global_int->
time_boot_ms, set_position_target_global_int->
target_system, set_position_target_global_int->
target_component, set_position_target_global_int->
coordinate_frame, set_position_target_global_int->
type_mask, set_position_target_global_int->
lat_int, set_position_target_global_int->
lon_int, set_position_target_global_int->
alt, set_position_target_global_int->
vx, set_position_target_global_int->
vy, set_position_target_global_int->
vz, set_position_target_global_int->
afx, set_position_target_global_int->
afy, set_position_target_global_int->
afz, set_position_target_global_int->
yaw, set_position_target_global_int->
yaw_rate);
259 #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS 261 static inline void mavlink_msg_set_position_target_global_int_send(
mavlink_channel_t chan, uint32_t
time_boot_ms, uint8_t
target_system, uint8_t
target_component, uint8_t
coordinate_frame, uint16_t
type_mask, int32_t
lat_int, int32_t
lon_int,
float alt,
float vx,
float vy,
float vz,
float afx,
float afy,
float afz,
float yaw,
float yaw_rate)
263 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 282 #if MAVLINK_CRC_EXTRA 306 #if MAVLINK_CRC_EXTRA 314 #if MAVLINK_MSG_ID_SET_POSITION_TARGET_GLOBAL_INT_LEN <= MAVLINK_MAX_PAYLOAD_LEN 322 static inline void mavlink_msg_set_position_target_global_int_send_buf(mavlink_message_t *msgbuf,
mavlink_channel_t chan, uint32_t
time_boot_ms, uint8_t
target_system, uint8_t
target_component, uint8_t
coordinate_frame, uint16_t
type_mask, int32_t
lat_int, int32_t
lon_int,
float alt,
float vx,
float vy,
float vz,
float afx,
float afy,
float afz,
float yaw,
float yaw_rate)
324 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 325 char *buf = (
char *)msgbuf;
343 #if MAVLINK_CRC_EXTRA 367 #if MAVLINK_CRC_EXTRA 388 return _MAV_RETURN_uint32_t(msg, 0);
428 return _MAV_RETURN_uint16_t(msg, 48);
438 return _MAV_RETURN_int32_t(msg, 4);
448 return _MAV_RETURN_int32_t(msg, 8);
458 return _MAV_RETURN_float(msg, 12);
468 return _MAV_RETURN_float(msg, 16);
478 return _MAV_RETURN_float(msg, 20);
488 return _MAV_RETURN_float(msg, 24);
498 return _MAV_RETURN_float(msg, 28);
508 return _MAV_RETURN_float(msg, 32);
518 return _MAV_RETURN_float(msg, 36);
528 return _MAV_RETURN_float(msg, 40);
538 return _MAV_RETURN_float(msg, 44);
549 #if MAVLINK_NEED_BYTE_SWAP static float mavlink_msg_set_position_target_global_int_get_yaw_rate(const mavlink_message_t *msg)
Get field yaw_rate from set_position_target_global_int message.
#define _mav_put_float(buf, wire_offset, b)
static uint16_t mavlink_msg_set_position_target_global_int_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, uint32_t time_boot_ms, uint8_t target_system, uint8_t target_component, uint8_t coordinate_frame, uint16_t type_mask, int32_t lat_int, int32_t lon_int, float alt, float vx, float vy, float vz, float afx, float afy, float afz, float yaw, float yaw_rate)
Pack a set_position_target_global_int message on a channel.
static uint8_t mavlink_msg_set_position_target_global_int_get_target_system(const mavlink_message_t *msg)
Get field target_system from set_position_target_global_int message.
struct __mavlink_set_position_target_global_int_t mavlink_set_position_target_global_int_t
static uint32_t mavlink_msg_set_position_target_global_int_get_time_boot_ms(const mavlink_message_t *msg)
Send a set_position_target_global_int message.
static float mavlink_msg_set_position_target_global_int_get_vz(const mavlink_message_t *msg)
Get field vz from set_position_target_global_int message.
#define _MAV_RETURN_uint8_t(msg, wire_offset)
static int32_t mavlink_msg_set_position_target_global_int_get_lat_int(const mavlink_message_t *msg)
Get field lat_int from set_position_target_global_int message.
static float mavlink_msg_set_position_target_global_int_get_afz(const mavlink_message_t *msg)
Get field afz from set_position_target_global_int 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.
#define _mav_put_uint8_t(buf, wire_offset, b)
#define _mav_put_int32_t(buf, wire_offset, b)
#define _MAV_PAYLOAD_NON_CONST(msg)
#define MAVLINK_MSG_ID_SET_POSITION_TARGET_GLOBAL_INT
static uint8_t mavlink_msg_set_position_target_global_int_get_coordinate_frame(const mavlink_message_t *msg)
Get field coordinate_frame from set_position_target_global_int message.
#define _MAV_PAYLOAD(msg)
static float mavlink_msg_set_position_target_global_int_get_yaw(const mavlink_message_t *msg)
Get field yaw from set_position_target_global_int message.
static uint16_t mavlink_msg_set_position_target_global_int_encode_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_set_position_target_global_int_t *set_position_target_global_int)
Encode a set_position_target_global_int struct on a channel.
static float mavlink_msg_set_position_target_global_int_get_afx(const mavlink_message_t *msg)
Get field afx from set_position_target_global_int message.
#define MAVLINK_MSG_ID_SET_POSITION_TARGET_GLOBAL_INT_LEN
static uint8_t mavlink_msg_set_position_target_global_int_get_target_component(const mavlink_message_t *msg)
Get field target_component from set_position_target_global_int message.
static float mavlink_msg_set_position_target_global_int_get_alt(const mavlink_message_t *msg)
Get field alt from set_position_target_global_int message.
#define MAVLINK_MSG_ID_SET_POSITION_TARGET_GLOBAL_INT_CRC
static uint16_t mavlink_msg_set_position_target_global_int_encode(uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_set_position_target_global_int_t *set_position_target_global_int)
Encode a set_position_target_global_int struct.
static float mavlink_msg_set_position_target_global_int_get_vy(const mavlink_message_t *msg)
Get field vy from set_position_target_global_int message.
static uint16_t mavlink_msg_set_position_target_global_int_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint32_t time_boot_ms, uint8_t target_system, uint8_t target_component, uint8_t coordinate_frame, uint16_t type_mask, int32_t lat_int, int32_t lon_int, float alt, float vx, float vy, float vz, float afx, float afy, float afz, float yaw, float yaw_rate)
Pack a set_position_target_global_int message.
#define _mav_put_uint16_t(buf, wire_offset, b)
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.
static float mavlink_msg_set_position_target_global_int_get_afy(const mavlink_message_t *msg)
Get field afy from set_position_target_global_int message.
static uint16_t mavlink_msg_set_position_target_global_int_get_type_mask(const mavlink_message_t *msg)
Get field type_mask from set_position_target_global_int message.
static void mavlink_msg_set_position_target_global_int_decode(const mavlink_message_t *msg, mavlink_set_position_target_global_int_t *set_position_target_global_int)
Decode a set_position_target_global_int message into a struct.
static float mavlink_msg_set_position_target_global_int_get_vx(const mavlink_message_t *msg)
Get field vx from set_position_target_global_int message.
#define _mav_put_uint32_t(buf, wire_offset, b)
static int32_t mavlink_msg_set_position_target_global_int_get_lon_int(const mavlink_message_t *msg)
Get field lon_int from set_position_target_global_int message.