3 #define MAVLINK_MSG_ID_IMAGE_TRIGGER_CONTROL 153
10 #define MAVLINK_MSG_ID_IMAGE_TRIGGER_CONTROL_LEN 1
11 #define MAVLINK_MSG_ID_153_LEN 1
13 #define MAVLINK_MSG_ID_IMAGE_TRIGGER_CONTROL_CRC 95
14 #define MAVLINK_MSG_ID_153_CRC 95
18 #define MAVLINK_MESSAGE_INFO_IMAGE_TRIGGER_CONTROL { \
19 "IMAGE_TRIGGER_CONTROL", \
21 { { "enable", NULL, MAVLINK_TYPE_UINT8_T, 0, 0, offsetof(mavlink_image_trigger_control_t, enable) }, \
35 static inline uint16_t mavlink_msg_image_trigger_control_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
38 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
67 static inline uint16_t mavlink_msg_image_trigger_control_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
68 mavlink_message_t* msg,
71 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
99 static inline uint16_t mavlink_msg_image_trigger_control_encode(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
const mavlink_image_trigger_control_t* image_trigger_control)
101 return mavlink_msg_image_trigger_control_pack(system_id, component_id, msg, image_trigger_control->
enable);
113 static inline uint16_t mavlink_msg_image_trigger_control_encode_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t* msg,
const mavlink_image_trigger_control_t* image_trigger_control)
115 return mavlink_msg_image_trigger_control_pack_chan(system_id, component_id, chan, msg, image_trigger_control->
enable);
124 #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
126 static inline void mavlink_msg_image_trigger_control_send(
mavlink_channel_t chan, uint8_t enable)
128 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
132 #if MAVLINK_CRC_EXTRA
141 #if MAVLINK_CRC_EXTRA
149 #if MAVLINK_MSG_ID_IMAGE_TRIGGER_CONTROL_LEN <= MAVLINK_MAX_PAYLOAD_LEN
157 static inline void mavlink_msg_image_trigger_control_send_buf(mavlink_message_t *msgbuf,
mavlink_channel_t chan, uint8_t enable)
159 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
160 char *buf = (
char *)msgbuf;
163 #if MAVLINK_CRC_EXTRA
172 #if MAVLINK_CRC_EXTRA
191 static inline uint8_t mavlink_msg_image_trigger_control_get_enable(
const mavlink_message_t* msg)
204 #if MAVLINK_NEED_BYTE_SWAP
205 image_trigger_control->
enable = mavlink_msg_image_trigger_control_get_enable(msg);
#define _MAV_RETURN_uint8_t(msg, wire_offset)
Definition: protocol.h:238
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.
Definition: mavlink_helpers.h:105
#define _mav_put_uint8_t(buf, wire_offset, b)
Definition: protocol.h:134
#define _MAV_PAYLOAD_NON_CONST(msg)
Definition: mavlink_types.h:172
mavlink_channel_t
Definition: mavlink_types.h:178
#define _MAV_PAYLOAD(msg)
Definition: mavlink_types.h:171
uint8_t enable
0 to disable, 1 to enable
Definition: mavlink_msg_image_trigger_control.h:7
#define MAVLINK_MSG_ID_IMAGE_TRIGGER_CONTROL_LEN
Definition: mavlink_msg_image_trigger_control.h:10
#define MAVLINK_MSG_ID_IMAGE_TRIGGER_CONTROL_CRC
Definition: mavlink_msg_image_trigger_control.h:13
Definition: mavlink_msg_image_trigger_control.h:5
struct __mavlink_image_trigger_control_t mavlink_image_trigger_control_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.
Definition: mavlink_helpers.h:71
#define MAVLINK_MSG_ID_IMAGE_TRIGGER_CONTROL
Definition: mavlink_msg_image_trigger_control.h:3