3 #define MAVLINK_MSG_ID_ASLCTRL_DEBUG 204
20 #define MAVLINK_MSG_ID_ASLCTRL_DEBUG_LEN 38
21 #define MAVLINK_MSG_ID_204_LEN 38
23 #define MAVLINK_MSG_ID_ASLCTRL_DEBUG_CRC 251
24 #define MAVLINK_MSG_ID_204_CRC 251
28 #define MAVLINK_MESSAGE_INFO_ASLCTRL_DEBUG { \
31 { { "i32_1", NULL, MAVLINK_TYPE_UINT32_T, 0, 0, offsetof(mavlink_aslctrl_debug_t, i32_1) }, \
32 { "f_1", NULL, MAVLINK_TYPE_FLOAT, 0, 4, offsetof(mavlink_aslctrl_debug_t, f_1) }, \
33 { "f_2", NULL, MAVLINK_TYPE_FLOAT, 0, 8, offsetof(mavlink_aslctrl_debug_t, f_2) }, \
34 { "f_3", NULL, MAVLINK_TYPE_FLOAT, 0, 12, offsetof(mavlink_aslctrl_debug_t, f_3) }, \
35 { "f_4", NULL, MAVLINK_TYPE_FLOAT, 0, 16, offsetof(mavlink_aslctrl_debug_t, f_4) }, \
36 { "f_5", NULL, MAVLINK_TYPE_FLOAT, 0, 20, offsetof(mavlink_aslctrl_debug_t, f_5) }, \
37 { "f_6", NULL, MAVLINK_TYPE_FLOAT, 0, 24, offsetof(mavlink_aslctrl_debug_t, f_6) }, \
38 { "f_7", NULL, MAVLINK_TYPE_FLOAT, 0, 28, offsetof(mavlink_aslctrl_debug_t, f_7) }, \
39 { "f_8", NULL, MAVLINK_TYPE_FLOAT, 0, 32, offsetof(mavlink_aslctrl_debug_t, f_8) }, \
40 { "i8_1", NULL, MAVLINK_TYPE_UINT8_T, 0, 36, offsetof(mavlink_aslctrl_debug_t, i8_1) }, \
41 { "i8_2", NULL, MAVLINK_TYPE_UINT8_T, 0, 37, offsetof(mavlink_aslctrl_debug_t, i8_2) }, \
65 static inline uint16_t mavlink_msg_aslctrl_debug_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
66 uint32_t i32_1, uint8_t i8_1, uint8_t i8_2,
float f_1,
float f_2,
float f_3,
float f_4,
float f_5,
float f_6,
float f_7,
float f_8)
68 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
101 #if MAVLINK_CRC_EXTRA
127 static inline uint16_t mavlink_msg_aslctrl_debug_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
128 mavlink_message_t* msg,
129 uint32_t i32_1,uint8_t i8_1,uint8_t i8_2,
float f_1,
float f_2,
float f_3,
float f_4,
float f_5,
float f_6,
float f_7,
float f_8)
131 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
148 packet.
i32_1 = i32_1;
164 #if MAVLINK_CRC_EXTRA
179 static inline uint16_t mavlink_msg_aslctrl_debug_encode(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
const mavlink_aslctrl_debug_t* aslctrl_debug)
181 return mavlink_msg_aslctrl_debug_pack(system_id, component_id, msg, aslctrl_debug->
i32_1, aslctrl_debug->
i8_1, aslctrl_debug->
i8_2, aslctrl_debug->
f_1, aslctrl_debug->
f_2, aslctrl_debug->
f_3, aslctrl_debug->
f_4, aslctrl_debug->
f_5, aslctrl_debug->
f_6, aslctrl_debug->
f_7, aslctrl_debug->
f_8);
193 static inline uint16_t mavlink_msg_aslctrl_debug_encode_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t* msg,
const mavlink_aslctrl_debug_t* aslctrl_debug)
195 return mavlink_msg_aslctrl_debug_pack_chan(system_id, component_id, chan, msg, aslctrl_debug->
i32_1, aslctrl_debug->
i8_1, aslctrl_debug->
i8_2, aslctrl_debug->
f_1, aslctrl_debug->
f_2, aslctrl_debug->
f_3, aslctrl_debug->
f_4, aslctrl_debug->
f_5, aslctrl_debug->
f_6, aslctrl_debug->
f_7, aslctrl_debug->
f_8);
214 #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
216 static inline void mavlink_msg_aslctrl_debug_send(
mavlink_channel_t chan, uint32_t i32_1, uint8_t i8_1, uint8_t i8_2,
float f_1,
float f_2,
float f_3,
float f_4,
float f_5,
float f_6,
float f_7,
float f_8)
218 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
232 #if MAVLINK_CRC_EXTRA
239 packet.
i32_1 = i32_1;
251 #if MAVLINK_CRC_EXTRA
259 #if MAVLINK_MSG_ID_ASLCTRL_DEBUG_LEN <= MAVLINK_MAX_PAYLOAD_LEN
267 static inline void mavlink_msg_aslctrl_debug_send_buf(mavlink_message_t *msgbuf,
mavlink_channel_t chan, uint32_t i32_1, uint8_t i8_1, uint8_t i8_2,
float f_1,
float f_2,
float f_3,
float f_4,
float f_5,
float f_6,
float f_7,
float f_8)
269 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
270 char *buf = (
char *)msgbuf;
283 #if MAVLINK_CRC_EXTRA
290 packet->
i32_1 = i32_1;
302 #if MAVLINK_CRC_EXTRA
321 static inline uint32_t mavlink_msg_aslctrl_debug_get_i32_1(
const mavlink_message_t* msg)
323 return _MAV_RETURN_uint32_t(msg, 0);
331 static inline uint8_t mavlink_msg_aslctrl_debug_get_i8_1(
const mavlink_message_t* msg)
341 static inline uint8_t mavlink_msg_aslctrl_debug_get_i8_2(
const mavlink_message_t* msg)
351 static inline float mavlink_msg_aslctrl_debug_get_f_1(
const mavlink_message_t* msg)
353 return _MAV_RETURN_float(msg, 4);
361 static inline float mavlink_msg_aslctrl_debug_get_f_2(
const mavlink_message_t* msg)
363 return _MAV_RETURN_float(msg, 8);
371 static inline float mavlink_msg_aslctrl_debug_get_f_3(
const mavlink_message_t* msg)
373 return _MAV_RETURN_float(msg, 12);
381 static inline float mavlink_msg_aslctrl_debug_get_f_4(
const mavlink_message_t* msg)
383 return _MAV_RETURN_float(msg, 16);
391 static inline float mavlink_msg_aslctrl_debug_get_f_5(
const mavlink_message_t* msg)
393 return _MAV_RETURN_float(msg, 20);
401 static inline float mavlink_msg_aslctrl_debug_get_f_6(
const mavlink_message_t* msg)
403 return _MAV_RETURN_float(msg, 24);
411 static inline float mavlink_msg_aslctrl_debug_get_f_7(
const mavlink_message_t* msg)
413 return _MAV_RETURN_float(msg, 28);
421 static inline float mavlink_msg_aslctrl_debug_get_f_8(
const mavlink_message_t* msg)
423 return _MAV_RETURN_float(msg, 32);
432 static inline void mavlink_msg_aslctrl_debug_decode(
const mavlink_message_t* msg,
mavlink_aslctrl_debug_t* aslctrl_debug)
434 #if MAVLINK_NEED_BYTE_SWAP
435 aslctrl_debug->
i32_1 = mavlink_msg_aslctrl_debug_get_i32_1(msg);
436 aslctrl_debug->
f_1 = mavlink_msg_aslctrl_debug_get_f_1(msg);
437 aslctrl_debug->
f_2 = mavlink_msg_aslctrl_debug_get_f_2(msg);
438 aslctrl_debug->
f_3 = mavlink_msg_aslctrl_debug_get_f_3(msg);
439 aslctrl_debug->
f_4 = mavlink_msg_aslctrl_debug_get_f_4(msg);
440 aslctrl_debug->
f_5 = mavlink_msg_aslctrl_debug_get_f_5(msg);
441 aslctrl_debug->
f_6 = mavlink_msg_aslctrl_debug_get_f_6(msg);
442 aslctrl_debug->
f_7 = mavlink_msg_aslctrl_debug_get_f_7(msg);
443 aslctrl_debug->
f_8 = mavlink_msg_aslctrl_debug_get_f_8(msg);
444 aslctrl_debug->
i8_1 = mavlink_msg_aslctrl_debug_get_i8_1(msg);
445 aslctrl_debug->
i8_2 = mavlink_msg_aslctrl_debug_get_i8_2(msg);
#define _mav_put_float(buf, wire_offset, b)
Definition: protocol.h:145
uint32_t i32_1
Debug data.
Definition: mavlink_msg_aslctrl_debug.h:7
#define MAVLINK_MSG_ID_ASLCTRL_DEBUG_CRC
Definition: mavlink_msg_aslctrl_debug.h:23
#define _MAV_RETURN_uint8_t(msg, wire_offset)
Definition: protocol.h:238
struct __mavlink_aslctrl_debug_t mavlink_aslctrl_debug_t
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
float f_6
Debug data.
Definition: mavlink_msg_aslctrl_debug.h:13
#define _MAV_PAYLOAD_NON_CONST(msg)
Definition: mavlink_types.h:172
uint8_t i8_2
Debug data.
Definition: mavlink_msg_aslctrl_debug.h:17
float f_7
Debug data.
Definition: mavlink_msg_aslctrl_debug.h:14
mavlink_channel_t
Definition: mavlink_types.h:178
float f_2
Debug data.
Definition: mavlink_msg_aslctrl_debug.h:9
float f_1
Debug data.
Definition: mavlink_msg_aslctrl_debug.h:8
#define _MAV_PAYLOAD(msg)
Definition: mavlink_types.h:171
float f_5
Debug data.
Definition: mavlink_msg_aslctrl_debug.h:12
float f_8
Debug data.
Definition: mavlink_msg_aslctrl_debug.h:15
float f_3
Debug data.
Definition: mavlink_msg_aslctrl_debug.h:10
uint8_t i8_1
Debug data.
Definition: mavlink_msg_aslctrl_debug.h:16
float f_4
Debug data.
Definition: mavlink_msg_aslctrl_debug.h:11
#define MAVLINK_MSG_ID_ASLCTRL_DEBUG_LEN
Definition: mavlink_msg_aslctrl_debug.h:20
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
Definition: mavlink_msg_aslctrl_debug.h:5
#define MAVLINK_MSG_ID_ASLCTRL_DEBUG
Definition: mavlink_msg_aslctrl_debug.h:3
#define _mav_put_uint32_t(buf, wire_offset, b)
Definition: protocol.h:141