3 #define MAVLINK_MSG_ID_GIMBAL_HOME_OFFSET_CALIBRATION_RESULT 205
10 #define MAVLINK_MSG_ID_GIMBAL_HOME_OFFSET_CALIBRATION_RESULT_LEN 1
11 #define MAVLINK_MSG_ID_205_LEN 1
13 #define MAVLINK_MSG_ID_GIMBAL_HOME_OFFSET_CALIBRATION_RESULT_CRC 63
14 #define MAVLINK_MSG_ID_205_CRC 63
18 #define MAVLINK_MESSAGE_INFO_GIMBAL_HOME_OFFSET_CALIBRATION_RESULT { \
19 "GIMBAL_HOME_OFFSET_CALIBRATION_RESULT", \
21 { { "calibration_result", NULL, MAVLINK_TYPE_UINT8_T, 0, 0, offsetof(mavlink_gimbal_home_offset_calibration_result_t, calibration_result) }, \
35 static inline uint16_t mavlink_msg_gimbal_home_offset_calibration_result_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
36 uint8_t calibration_result)
38 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
67 static inline uint16_t mavlink_msg_gimbal_home_offset_calibration_result_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
68 mavlink_message_t* msg,
69 uint8_t calibration_result)
71 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
99 static inline uint16_t mavlink_msg_gimbal_home_offset_calibration_result_encode(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
const mavlink_gimbal_home_offset_calibration_result_t* gimbal_home_offset_calibration_result)
101 return mavlink_msg_gimbal_home_offset_calibration_result_pack(system_id, component_id, msg, gimbal_home_offset_calibration_result->
calibration_result);
113 static inline uint16_t mavlink_msg_gimbal_home_offset_calibration_result_encode_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t* msg,
const mavlink_gimbal_home_offset_calibration_result_t* gimbal_home_offset_calibration_result)
115 return mavlink_msg_gimbal_home_offset_calibration_result_pack_chan(system_id, component_id, chan, msg, gimbal_home_offset_calibration_result->
calibration_result);
124 #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
126 static inline void mavlink_msg_gimbal_home_offset_calibration_result_send(
mavlink_channel_t chan, uint8_t calibration_result)
128 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
132 #if MAVLINK_CRC_EXTRA
141 #if MAVLINK_CRC_EXTRA
149 #if MAVLINK_MSG_ID_GIMBAL_HOME_OFFSET_CALIBRATION_RESULT_LEN <= MAVLINK_MAX_PAYLOAD_LEN
157 static inline void mavlink_msg_gimbal_home_offset_calibration_result_send_buf(mavlink_message_t *msgbuf,
mavlink_channel_t chan, uint8_t calibration_result)
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_gimbal_home_offset_calibration_result_get_calibration_result(
const mavlink_message_t* msg)
204 #if MAVLINK_NEED_BYTE_SWAP
205 gimbal_home_offset_calibration_result->
calibration_result = mavlink_msg_gimbal_home_offset_calibration_result_get_calibration_result(msg);
Definition: mavlink_msg_gimbal_home_offset_calibration_result.h:5
#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
uint8_t calibration_result
The result of the home offset calibration.
Definition: mavlink_msg_gimbal_home_offset_calibration_result.h:7
#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 MAVLINK_MSG_ID_GIMBAL_HOME_OFFSET_CALIBRATION_RESULT_CRC
Definition: mavlink_msg_gimbal_home_offset_calibration_result.h:13
#define _MAV_PAYLOAD(msg)
Definition: mavlink_types.h:171
struct __mavlink_gimbal_home_offset_calibration_result_t mavlink_gimbal_home_offset_calibration_result_t
#define MAVLINK_MSG_ID_GIMBAL_HOME_OFFSET_CALIBRATION_RESULT
Definition: mavlink_msg_gimbal_home_offset_calibration_result.h:3
#define MAVLINK_MSG_ID_GIMBAL_HOME_OFFSET_CALIBRATION_RESULT_LEN
Definition: mavlink_msg_gimbal_home_offset_calibration_result.h:10
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