3 #define MAVLINK_MSG_ID_MISSION_ITEM_INT 73 23 #define MAVLINK_MSG_ID_MISSION_ITEM_INT_LEN 37 24 #define MAVLINK_MSG_ID_73_LEN 37 26 #define MAVLINK_MSG_ID_MISSION_ITEM_INT_CRC 38 27 #define MAVLINK_MSG_ID_73_CRC 38 31 #define MAVLINK_MESSAGE_INFO_MISSION_ITEM_INT { \ 34 { { "param1", NULL, MAVLINK_TYPE_FLOAT, 0, 0, offsetof(mavlink_mission_item_int_t, param1) }, \ 35 { "param2", NULL, MAVLINK_TYPE_FLOAT, 0, 4, offsetof(mavlink_mission_item_int_t, param2) }, \ 36 { "param3", NULL, MAVLINK_TYPE_FLOAT, 0, 8, offsetof(mavlink_mission_item_int_t, param3) }, \ 37 { "param4", NULL, MAVLINK_TYPE_FLOAT, 0, 12, offsetof(mavlink_mission_item_int_t, param4) }, \ 38 { "x", NULL, MAVLINK_TYPE_INT32_T, 0, 16, offsetof(mavlink_mission_item_int_t, x) }, \ 39 { "y", NULL, MAVLINK_TYPE_INT32_T, 0, 20, offsetof(mavlink_mission_item_int_t, y) }, \ 40 { "z", NULL, MAVLINK_TYPE_FLOAT, 0, 24, offsetof(mavlink_mission_item_int_t, z) }, \ 41 { "seq", NULL, MAVLINK_TYPE_UINT16_T, 0, 28, offsetof(mavlink_mission_item_int_t, seq) }, \ 42 { "command", NULL, MAVLINK_TYPE_UINT16_T, 0, 30, offsetof(mavlink_mission_item_int_t, command) }, \ 43 { "target_system", NULL, MAVLINK_TYPE_UINT8_T, 0, 32, offsetof(mavlink_mission_item_int_t, target_system) }, \ 44 { "target_component", NULL, MAVLINK_TYPE_UINT8_T, 0, 33, offsetof(mavlink_mission_item_int_t, target_component) }, \ 45 { "frame", NULL, MAVLINK_TYPE_UINT8_T, 0, 34, offsetof(mavlink_mission_item_int_t, frame) }, \ 46 { "current", NULL, MAVLINK_TYPE_UINT8_T, 0, 35, offsetof(mavlink_mission_item_int_t, current) }, \ 47 { "autocontinue", NULL, MAVLINK_TYPE_UINT8_T, 0, 36, offsetof(mavlink_mission_item_int_t, autocontinue) }, \ 75 uint8_t
target_system, uint8_t
target_component, uint16_t
seq, uint8_t
frame, uint16_t
command, uint8_t
current, uint8_t
autocontinue,
float param1,
float param2,
float param3,
float param4, int32_t
x, int32_t
y,
float z)
77 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 116 #if MAVLINK_CRC_EXTRA 146 mavlink_message_t* msg,
147 uint8_t
target_system,uint8_t
target_component,uint16_t
seq,uint8_t
frame,uint16_t
command,uint8_t
current,uint8_t
autocontinue,
float param1,
float param2,
float param3,
float param4,int32_t
x,int32_t
y,
float z)
149 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 188 #if MAVLINK_CRC_EXTRA 205 return mavlink_msg_mission_item_int_pack(system_id, component_id, msg, mission_item_int->
target_system, mission_item_int->
target_component, mission_item_int->
seq, mission_item_int->
frame, mission_item_int->
command, mission_item_int->
current, mission_item_int->
autocontinue, mission_item_int->
param1, mission_item_int->
param2, mission_item_int->
param3, mission_item_int->
param4, mission_item_int->
x, mission_item_int->
y, mission_item_int->
z);
219 return mavlink_msg_mission_item_int_pack_chan(system_id, component_id, chan, msg, mission_item_int->
target_system, mission_item_int->
target_component, mission_item_int->
seq, mission_item_int->
frame, mission_item_int->
command, mission_item_int->
current, mission_item_int->
autocontinue, mission_item_int->
param1, mission_item_int->
param2, mission_item_int->
param3, mission_item_int->
param4, mission_item_int->
x, mission_item_int->
y, mission_item_int->
z);
241 #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS 243 static inline void mavlink_msg_mission_item_int_send(
mavlink_channel_t chan, uint8_t
target_system, uint8_t
target_component, uint16_t
seq, uint8_t
frame, uint16_t
command, uint8_t
current, uint8_t
autocontinue,
float param1,
float param2,
float param3,
float param4, int32_t
x, int32_t
y,
float z)
245 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 262 #if MAVLINK_CRC_EXTRA 284 #if MAVLINK_CRC_EXTRA 292 #if MAVLINK_MSG_ID_MISSION_ITEM_INT_LEN <= MAVLINK_MAX_PAYLOAD_LEN 300 static inline void mavlink_msg_mission_item_int_send_buf(mavlink_message_t *msgbuf,
mavlink_channel_t chan, uint8_t
target_system, uint8_t
target_component, uint16_t
seq, uint8_t
frame, uint16_t
command, uint8_t
current, uint8_t
autocontinue,
float param1,
float param2,
float param3,
float param4, int32_t
x, int32_t
y,
float z)
302 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS 303 char *buf = (
char *)msgbuf;
319 #if MAVLINK_CRC_EXTRA 341 #if MAVLINK_CRC_EXTRA 382 return _MAV_RETURN_uint16_t(msg, 28);
402 return _MAV_RETURN_uint16_t(msg, 30);
432 return _MAV_RETURN_float(msg, 0);
442 return _MAV_RETURN_float(msg, 4);
452 return _MAV_RETURN_float(msg, 8);
462 return _MAV_RETURN_float(msg, 12);
472 return _MAV_RETURN_int32_t(msg, 16);
482 return _MAV_RETURN_int32_t(msg, 20);
492 return _MAV_RETURN_float(msg, 24);
503 #if MAVLINK_NEED_BYTE_SWAP static float mavlink_msg_mission_item_int_get_param3(const mavlink_message_t *msg)
Get field param3 from mission_item_int message.
#define _mav_put_float(buf, wire_offset, b)
static uint8_t mavlink_msg_mission_item_int_get_autocontinue(const mavlink_message_t *msg)
Get field autocontinue from mission_item_int message.
#define MAVLINK_MSG_ID_MISSION_ITEM_INT_CRC
static uint8_t mavlink_msg_mission_item_int_get_target_component(const mavlink_message_t *msg)
Get field target_component from mission_item_int message.
#define _MAV_RETURN_uint8_t(msg, wire_offset)
static uint16_t mavlink_msg_mission_item_int_encode(uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, const mavlink_mission_item_int_t *mission_item_int)
Encode a mission_item_int struct.
static void mavlink_msg_mission_item_int_decode(const mavlink_message_t *msg, mavlink_mission_item_int_t *mission_item_int)
Decode a mission_item_int message into a struct.
#define MAVLINK_MSG_ID_MISSION_ITEM_INT
static int32_t mavlink_msg_mission_item_int_get_x(const mavlink_message_t *msg)
Get field x from mission_item_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)
static uint8_t mavlink_msg_mission_item_int_get_frame(const mavlink_message_t *msg)
Get field frame from mission_item_int message.
static float mavlink_msg_mission_item_int_get_z(const mavlink_message_t *msg)
Get field z from mission_item_int message.
struct __mavlink_mission_item_int_t mavlink_mission_item_int_t
static float mavlink_msg_mission_item_int_get_param4(const mavlink_message_t *msg)
Get field param4 from mission_item_int message.
#define _MAV_PAYLOAD(msg)
#define MAVLINK_MSG_ID_MISSION_ITEM_INT_LEN
static uint16_t mavlink_msg_mission_item_int_encode_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, const mavlink_mission_item_int_t *mission_item_int)
Encode a mission_item_int struct on a channel.
static uint16_t mavlink_msg_mission_item_int_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, uint16_t seq, uint8_t frame, uint16_t command, uint8_t current, uint8_t autocontinue, float param1, float param2, float param3, float param4, int32_t x, int32_t y, float z)
Pack a mission_item_int message on a channel.
static uint8_t mavlink_msg_mission_item_int_get_current(const mavlink_message_t *msg)
Get field current from mission_item_int message.
static int32_t mavlink_msg_mission_item_int_get_y(const mavlink_message_t *msg)
Get field y from mission_item_int message.
static uint16_t mavlink_msg_mission_item_int_get_command(const mavlink_message_t *msg)
Get field command from mission_item_int message.
static uint8_t mavlink_msg_mission_item_int_get_target_system(const mavlink_message_t *msg)
Send a mission_item_int message.
static float mavlink_msg_mission_item_int_get_param1(const mavlink_message_t *msg)
Get field param1 from mission_item_int message.
static uint16_t mavlink_msg_mission_item_int_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, uint8_t target_system, uint8_t target_component, uint16_t seq, uint8_t frame, uint16_t command, uint8_t current, uint8_t autocontinue, float param1, float param2, float param3, float param4, int32_t x, int32_t y, float z)
Pack a mission_item_int message.
#define _mav_put_uint16_t(buf, wire_offset, b)
static uint16_t mavlink_msg_mission_item_int_get_seq(const mavlink_message_t *msg)
Get field seq from mission_item_int 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.
static float mavlink_msg_mission_item_int_get_param2(const mavlink_message_t *msg)
Get field param2 from mission_item_int message.