3 #define MAVLINK_MSG_ID_TEST_TYPES 0
31 #define MAVLINK_MSG_ID_TEST_TYPES_LEN 179
32 #define MAVLINK_MSG_ID_0_LEN 179
34 #define MAVLINK_MSG_ID_TEST_TYPES_CRC 103
35 #define MAVLINK_MSG_ID_0_CRC 103
37 #define MAVLINK_MSG_TEST_TYPES_FIELD_U64_ARRAY_LEN 3
38 #define MAVLINK_MSG_TEST_TYPES_FIELD_S64_ARRAY_LEN 3
39 #define MAVLINK_MSG_TEST_TYPES_FIELD_D_ARRAY_LEN 3
40 #define MAVLINK_MSG_TEST_TYPES_FIELD_U32_ARRAY_LEN 3
41 #define MAVLINK_MSG_TEST_TYPES_FIELD_S32_ARRAY_LEN 3
42 #define MAVLINK_MSG_TEST_TYPES_FIELD_F_ARRAY_LEN 3
43 #define MAVLINK_MSG_TEST_TYPES_FIELD_U16_ARRAY_LEN 3
44 #define MAVLINK_MSG_TEST_TYPES_FIELD_S16_ARRAY_LEN 3
45 #define MAVLINK_MSG_TEST_TYPES_FIELD_S_LEN 10
46 #define MAVLINK_MSG_TEST_TYPES_FIELD_U8_ARRAY_LEN 3
47 #define MAVLINK_MSG_TEST_TYPES_FIELD_S8_ARRAY_LEN 3
49 #define MAVLINK_MESSAGE_INFO_TEST_TYPES { \
52 { { "u64", NULL, MAVLINK_TYPE_UINT64_T, 0, 0, offsetof(mavlink_test_types_t, u64) }, \
53 { "s64", NULL, MAVLINK_TYPE_INT64_T, 0, 8, offsetof(mavlink_test_types_t, s64) }, \
54 { "d", NULL, MAVLINK_TYPE_DOUBLE, 0, 16, offsetof(mavlink_test_types_t, d) }, \
55 { "u64_array", NULL, MAVLINK_TYPE_UINT64_T, 3, 24, offsetof(mavlink_test_types_t, u64_array) }, \
56 { "s64_array", NULL, MAVLINK_TYPE_INT64_T, 3, 48, offsetof(mavlink_test_types_t, s64_array) }, \
57 { "d_array", NULL, MAVLINK_TYPE_DOUBLE, 3, 72, offsetof(mavlink_test_types_t, d_array) }, \
58 { "u32", "0x%08x", MAVLINK_TYPE_UINT32_T, 0, 96, offsetof(mavlink_test_types_t, u32) }, \
59 { "s32", NULL, MAVLINK_TYPE_INT32_T, 0, 100, offsetof(mavlink_test_types_t, s32) }, \
60 { "f", NULL, MAVLINK_TYPE_FLOAT, 0, 104, offsetof(mavlink_test_types_t, f) }, \
61 { "u32_array", NULL, MAVLINK_TYPE_UINT32_T, 3, 108, offsetof(mavlink_test_types_t, u32_array) }, \
62 { "s32_array", NULL, MAVLINK_TYPE_INT32_T, 3, 120, offsetof(mavlink_test_types_t, s32_array) }, \
63 { "f_array", NULL, MAVLINK_TYPE_FLOAT, 3, 132, offsetof(mavlink_test_types_t, f_array) }, \
64 { "u16", NULL, MAVLINK_TYPE_UINT16_T, 0, 144, offsetof(mavlink_test_types_t, u16) }, \
65 { "s16", NULL, MAVLINK_TYPE_INT16_T, 0, 146, offsetof(mavlink_test_types_t, s16) }, \
66 { "u16_array", NULL, MAVLINK_TYPE_UINT16_T, 3, 148, offsetof(mavlink_test_types_t, u16_array) }, \
67 { "s16_array", NULL, MAVLINK_TYPE_INT16_T, 3, 154, offsetof(mavlink_test_types_t, s16_array) }, \
68 { "c", NULL, MAVLINK_TYPE_CHAR, 0, 160, offsetof(mavlink_test_types_t, c) }, \
69 { "s", NULL, MAVLINK_TYPE_CHAR, 10, 161, offsetof(mavlink_test_types_t, s) }, \
70 { "u8", NULL, MAVLINK_TYPE_UINT8_T, 0, 171, offsetof(mavlink_test_types_t, u8) }, \
71 { "s8", NULL, MAVLINK_TYPE_INT8_T, 0, 172, offsetof(mavlink_test_types_t, s8) }, \
72 { "u8_array", NULL, MAVLINK_TYPE_UINT8_T, 3, 173, offsetof(mavlink_test_types_t, u8_array) }, \
73 { "s8_array", NULL, MAVLINK_TYPE_INT8_T, 3, 176, offsetof(mavlink_test_types_t, s8_array) }, \
108 static inline uint16_t mavlink_msg_test_types_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
109 char c,
const char *s, uint8_t u8, uint16_t u16, uint32_t u32, uint64_t u64, int8_t s8, int16_t s16, int32_t s32, int64_t s64,
float f,
double d,
const uint8_t *u8_array,
const uint16_t *u16_array,
const uint32_t *u32_array,
const uint64_t *u64_array,
const int8_t *s8_array,
const int16_t *s16_array,
const int32_t *s32_array,
const int64_t *s64_array,
const float *f_array,
const double *d_array)
111 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
124 _mav_put_uint64_t_array(buf, 24, u64_array, 3);
125 _mav_put_int64_t_array(buf, 48, s64_array, 3);
126 _mav_put_double_array(buf, 72, d_array, 3);
127 _mav_put_uint32_t_array(buf, 108, u32_array, 3);
128 _mav_put_int32_t_array(buf, 120, s32_array, 3);
129 _mav_put_float_array(buf, 132, f_array, 3);
130 _mav_put_uint16_t_array(buf, 148, u16_array, 3);
131 _mav_put_int16_t_array(buf, 154, s16_array, 3);
132 _mav_put_char_array(buf, 161, s, 10);
133 _mav_put_uint8_t_array(buf, 173, u8_array, 3);
134 _mav_put_int8_t_array(buf, 176, s8_array, 3);
149 mav_array_memcpy(packet.
u64_array, u64_array,
sizeof(uint64_t)*3);
150 mav_array_memcpy(packet.
s64_array, s64_array,
sizeof(int64_t)*3);
151 mav_array_memcpy(packet.
d_array, d_array,
sizeof(
double)*3);
152 mav_array_memcpy(packet.
u32_array, u32_array,
sizeof(uint32_t)*3);
153 mav_array_memcpy(packet.
s32_array, s32_array,
sizeof(int32_t)*3);
154 mav_array_memcpy(packet.
f_array, f_array,
sizeof(
float)*3);
155 mav_array_memcpy(packet.
u16_array, u16_array,
sizeof(uint16_t)*3);
156 mav_array_memcpy(packet.
s16_array, s16_array,
sizeof(int16_t)*3);
157 mav_array_memcpy(packet.
s, s,
sizeof(
char)*10);
158 mav_array_memcpy(packet.
u8_array, u8_array,
sizeof(uint8_t)*3);
159 mav_array_memcpy(packet.
s8_array, s8_array,
sizeof(int8_t)*3);
164 #if MAVLINK_CRC_EXTRA
201 static inline uint16_t mavlink_msg_test_types_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
202 mavlink_message_t* msg,
203 char c,
const char *s,uint8_t u8,uint16_t u16,uint32_t u32,uint64_t u64,int8_t s8,int16_t s16,int32_t s32,int64_t s64,
float f,
double d,
const uint8_t *u8_array,
const uint16_t *u16_array,
const uint32_t *u32_array,
const uint64_t *u64_array,
const int8_t *s8_array,
const int16_t *s16_array,
const int32_t *s32_array,
const int64_t *s64_array,
const float *f_array,
const double *d_array)
205 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
218 _mav_put_uint64_t_array(buf, 24, u64_array, 3);
219 _mav_put_int64_t_array(buf, 48, s64_array, 3);
220 _mav_put_double_array(buf, 72, d_array, 3);
221 _mav_put_uint32_t_array(buf, 108, u32_array, 3);
222 _mav_put_int32_t_array(buf, 120, s32_array, 3);
223 _mav_put_float_array(buf, 132, f_array, 3);
224 _mav_put_uint16_t_array(buf, 148, u16_array, 3);
225 _mav_put_int16_t_array(buf, 154, s16_array, 3);
226 _mav_put_char_array(buf, 161, s, 10);
227 _mav_put_uint8_t_array(buf, 173, u8_array, 3);
228 _mav_put_int8_t_array(buf, 176, s8_array, 3);
243 mav_array_memcpy(packet.
u64_array, u64_array,
sizeof(uint64_t)*3);
244 mav_array_memcpy(packet.
s64_array, s64_array,
sizeof(int64_t)*3);
245 mav_array_memcpy(packet.
d_array, d_array,
sizeof(
double)*3);
246 mav_array_memcpy(packet.
u32_array, u32_array,
sizeof(uint32_t)*3);
247 mav_array_memcpy(packet.
s32_array, s32_array,
sizeof(int32_t)*3);
248 mav_array_memcpy(packet.
f_array, f_array,
sizeof(
float)*3);
249 mav_array_memcpy(packet.
u16_array, u16_array,
sizeof(uint16_t)*3);
250 mav_array_memcpy(packet.
s16_array, s16_array,
sizeof(int16_t)*3);
251 mav_array_memcpy(packet.
s, s,
sizeof(
char)*10);
252 mav_array_memcpy(packet.
u8_array, u8_array,
sizeof(uint8_t)*3);
253 mav_array_memcpy(packet.
s8_array, s8_array,
sizeof(int8_t)*3);
258 #if MAVLINK_CRC_EXTRA
273 static inline uint16_t mavlink_msg_test_types_encode(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
const mavlink_test_types_t* test_types)
275 return mavlink_msg_test_types_pack(system_id, component_id, msg, test_types->
c, test_types->
s, test_types->
u8, test_types->
u16, test_types->
u32, test_types->
u64, test_types->
s8, test_types->
s16, test_types->
s32, test_types->
s64, test_types->
f, test_types->
d, test_types->
u8_array, test_types->
u16_array, test_types->
u32_array, test_types->
u64_array, test_types->
s8_array, test_types->
s16_array, test_types->
s32_array, test_types->
s64_array, test_types->
f_array, test_types->
d_array);
287 static inline uint16_t mavlink_msg_test_types_encode_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t* msg,
const mavlink_test_types_t* test_types)
289 return mavlink_msg_test_types_pack_chan(system_id, component_id, chan, msg, test_types->
c, test_types->
s, test_types->
u8, test_types->
u16, test_types->
u32, test_types->
u64, test_types->
s8, test_types->
s16, test_types->
s32, test_types->
s64, test_types->
f, test_types->
d, test_types->
u8_array, test_types->
u16_array, test_types->
u32_array, test_types->
u64_array, test_types->
s8_array, test_types->
s16_array, test_types->
s32_array, test_types->
s64_array, test_types->
f_array, test_types->
d_array);
319 #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
321 static inline void mavlink_msg_test_types_send(
mavlink_channel_t chan,
char c,
const char *s, uint8_t u8, uint16_t u16, uint32_t u32, uint64_t u64, int8_t s8, int16_t s16, int32_t s32, int64_t s64,
float f,
double d,
const uint8_t *u8_array,
const uint16_t *u16_array,
const uint32_t *u32_array,
const uint64_t *u64_array,
const int8_t *s8_array,
const int16_t *s16_array,
const int32_t *s32_array,
const int64_t *s64_array,
const float *f_array,
const double *d_array)
323 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
336 _mav_put_uint64_t_array(buf, 24, u64_array, 3);
337 _mav_put_int64_t_array(buf, 48, s64_array, 3);
338 _mav_put_double_array(buf, 72, d_array, 3);
339 _mav_put_uint32_t_array(buf, 108, u32_array, 3);
340 _mav_put_int32_t_array(buf, 120, s32_array, 3);
341 _mav_put_float_array(buf, 132, f_array, 3);
342 _mav_put_uint16_t_array(buf, 148, u16_array, 3);
343 _mav_put_int16_t_array(buf, 154, s16_array, 3);
344 _mav_put_char_array(buf, 161, s, 10);
345 _mav_put_uint8_t_array(buf, 173, u8_array, 3);
346 _mav_put_int8_t_array(buf, 176, s8_array, 3);
347 #if MAVLINK_CRC_EXTRA
365 mav_array_memcpy(packet.
u64_array, u64_array,
sizeof(uint64_t)*3);
366 mav_array_memcpy(packet.
s64_array, s64_array,
sizeof(int64_t)*3);
367 mav_array_memcpy(packet.
d_array, d_array,
sizeof(
double)*3);
368 mav_array_memcpy(packet.
u32_array, u32_array,
sizeof(uint32_t)*3);
369 mav_array_memcpy(packet.
s32_array, s32_array,
sizeof(int32_t)*3);
370 mav_array_memcpy(packet.
f_array, f_array,
sizeof(
float)*3);
371 mav_array_memcpy(packet.
u16_array, u16_array,
sizeof(uint16_t)*3);
372 mav_array_memcpy(packet.
s16_array, s16_array,
sizeof(int16_t)*3);
373 mav_array_memcpy(packet.
s, s,
sizeof(
char)*10);
374 mav_array_memcpy(packet.
u8_array, u8_array,
sizeof(uint8_t)*3);
375 mav_array_memcpy(packet.
s8_array, s8_array,
sizeof(int8_t)*3);
376 #if MAVLINK_CRC_EXTRA
384 #if MAVLINK_MSG_ID_TEST_TYPES_LEN <= MAVLINK_MAX_PAYLOAD_LEN
392 static inline void mavlink_msg_test_types_send_buf(mavlink_message_t *msgbuf,
mavlink_channel_t chan,
char c,
const char *s, uint8_t u8, uint16_t u16, uint32_t u32, uint64_t u64, int8_t s8, int16_t s16, int32_t s32, int64_t s64,
float f,
double d,
const uint8_t *u8_array,
const uint16_t *u16_array,
const uint32_t *u32_array,
const uint64_t *u64_array,
const int8_t *s8_array,
const int16_t *s16_array,
const int32_t *s32_array,
const int64_t *s64_array,
const float *f_array,
const double *d_array)
394 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
395 char *buf = (
char *)msgbuf;
407 _mav_put_uint64_t_array(buf, 24, u64_array, 3);
408 _mav_put_int64_t_array(buf, 48, s64_array, 3);
409 _mav_put_double_array(buf, 72, d_array, 3);
410 _mav_put_uint32_t_array(buf, 108, u32_array, 3);
411 _mav_put_int32_t_array(buf, 120, s32_array, 3);
412 _mav_put_float_array(buf, 132, f_array, 3);
413 _mav_put_uint16_t_array(buf, 148, u16_array, 3);
414 _mav_put_int16_t_array(buf, 154, s16_array, 3);
415 _mav_put_char_array(buf, 161, s, 10);
416 _mav_put_uint8_t_array(buf, 173, u8_array, 3);
417 _mav_put_int8_t_array(buf, 176, s8_array, 3);
418 #if MAVLINK_CRC_EXTRA
436 mav_array_memcpy(packet->
u64_array, u64_array,
sizeof(uint64_t)*3);
437 mav_array_memcpy(packet->
s64_array, s64_array,
sizeof(int64_t)*3);
438 mav_array_memcpy(packet->
d_array, d_array,
sizeof(
double)*3);
439 mav_array_memcpy(packet->
u32_array, u32_array,
sizeof(uint32_t)*3);
440 mav_array_memcpy(packet->
s32_array, s32_array,
sizeof(int32_t)*3);
441 mav_array_memcpy(packet->
f_array, f_array,
sizeof(
float)*3);
442 mav_array_memcpy(packet->
u16_array, u16_array,
sizeof(uint16_t)*3);
443 mav_array_memcpy(packet->
s16_array, s16_array,
sizeof(int16_t)*3);
444 mav_array_memcpy(packet->
s, s,
sizeof(
char)*10);
445 mav_array_memcpy(packet->
u8_array, u8_array,
sizeof(uint8_t)*3);
446 mav_array_memcpy(packet->
s8_array, s8_array,
sizeof(int8_t)*3);
447 #if MAVLINK_CRC_EXTRA
466 static inline char mavlink_msg_test_types_get_c(
const mavlink_message_t* msg)
476 static inline uint16_t mavlink_msg_test_types_get_s(
const mavlink_message_t* msg,
char *s)
478 return _MAV_RETURN_char_array(msg, s, 10, 161);
486 static inline uint8_t mavlink_msg_test_types_get_u8(
const mavlink_message_t* msg)
496 static inline uint16_t mavlink_msg_test_types_get_u16(
const mavlink_message_t* msg)
498 return _MAV_RETURN_uint16_t(msg, 144);
506 static inline uint32_t mavlink_msg_test_types_get_u32(
const mavlink_message_t* msg)
508 return _MAV_RETURN_uint32_t(msg, 96);
516 static inline uint64_t mavlink_msg_test_types_get_u64(
const mavlink_message_t* msg)
518 return _MAV_RETURN_uint64_t(msg, 0);
526 static inline int8_t mavlink_msg_test_types_get_s8(
const mavlink_message_t* msg)
536 static inline int16_t mavlink_msg_test_types_get_s16(
const mavlink_message_t* msg)
538 return _MAV_RETURN_int16_t(msg, 146);
546 static inline int32_t mavlink_msg_test_types_get_s32(
const mavlink_message_t* msg)
548 return _MAV_RETURN_int32_t(msg, 100);
556 static inline int64_t mavlink_msg_test_types_get_s64(
const mavlink_message_t* msg)
558 return _MAV_RETURN_int64_t(msg, 8);
566 static inline float mavlink_msg_test_types_get_f(
const mavlink_message_t* msg)
568 return _MAV_RETURN_float(msg, 104);
576 static inline double mavlink_msg_test_types_get_d(
const mavlink_message_t* msg)
578 return _MAV_RETURN_double(msg, 16);
586 static inline uint16_t mavlink_msg_test_types_get_u8_array(
const mavlink_message_t* msg, uint8_t *u8_array)
588 return _MAV_RETURN_uint8_t_array(msg, u8_array, 3, 173);
596 static inline uint16_t mavlink_msg_test_types_get_u16_array(
const mavlink_message_t* msg, uint16_t *u16_array)
598 return _MAV_RETURN_uint16_t_array(msg, u16_array, 3, 148);
606 static inline uint16_t mavlink_msg_test_types_get_u32_array(
const mavlink_message_t* msg, uint32_t *u32_array)
608 return _MAV_RETURN_uint32_t_array(msg, u32_array, 3, 108);
616 static inline uint16_t mavlink_msg_test_types_get_u64_array(
const mavlink_message_t* msg, uint64_t *u64_array)
618 return _MAV_RETURN_uint64_t_array(msg, u64_array, 3, 24);
626 static inline uint16_t mavlink_msg_test_types_get_s8_array(
const mavlink_message_t* msg, int8_t *s8_array)
628 return _MAV_RETURN_int8_t_array(msg, s8_array, 3, 176);
636 static inline uint16_t mavlink_msg_test_types_get_s16_array(
const mavlink_message_t* msg, int16_t *s16_array)
638 return _MAV_RETURN_int16_t_array(msg, s16_array, 3, 154);
646 static inline uint16_t mavlink_msg_test_types_get_s32_array(
const mavlink_message_t* msg, int32_t *s32_array)
648 return _MAV_RETURN_int32_t_array(msg, s32_array, 3, 120);
656 static inline uint16_t mavlink_msg_test_types_get_s64_array(
const mavlink_message_t* msg, int64_t *s64_array)
658 return _MAV_RETURN_int64_t_array(msg, s64_array, 3, 48);
666 static inline uint16_t mavlink_msg_test_types_get_f_array(
const mavlink_message_t* msg,
float *f_array)
668 return _MAV_RETURN_float_array(msg, f_array, 3, 132);
676 static inline uint16_t mavlink_msg_test_types_get_d_array(
const mavlink_message_t* msg,
double *d_array)
678 return _MAV_RETURN_double_array(msg, d_array, 3, 72);
687 static inline void mavlink_msg_test_types_decode(
const mavlink_message_t* msg,
mavlink_test_types_t* test_types)
689 #if MAVLINK_NEED_BYTE_SWAP
690 test_types->
u64 = mavlink_msg_test_types_get_u64(msg);
691 test_types->
s64 = mavlink_msg_test_types_get_s64(msg);
692 test_types->
d = mavlink_msg_test_types_get_d(msg);
693 mavlink_msg_test_types_get_u64_array(msg, test_types->
u64_array);
694 mavlink_msg_test_types_get_s64_array(msg, test_types->
s64_array);
695 mavlink_msg_test_types_get_d_array(msg, test_types->
d_array);
696 test_types->
u32 = mavlink_msg_test_types_get_u32(msg);
697 test_types->
s32 = mavlink_msg_test_types_get_s32(msg);
698 test_types->
f = mavlink_msg_test_types_get_f(msg);
699 mavlink_msg_test_types_get_u32_array(msg, test_types->
u32_array);
700 mavlink_msg_test_types_get_s32_array(msg, test_types->
s32_array);
701 mavlink_msg_test_types_get_f_array(msg, test_types->
f_array);
702 test_types->
u16 = mavlink_msg_test_types_get_u16(msg);
703 test_types->
s16 = mavlink_msg_test_types_get_s16(msg);
704 mavlink_msg_test_types_get_u16_array(msg, test_types->
u16_array);
705 mavlink_msg_test_types_get_s16_array(msg, test_types->
s16_array);
706 test_types->
c = mavlink_msg_test_types_get_c(msg);
707 mavlink_msg_test_types_get_s(msg, test_types->
s);
708 test_types->
u8 = mavlink_msg_test_types_get_u8(msg);
709 test_types->
s8 = mavlink_msg_test_types_get_s8(msg);
710 mavlink_msg_test_types_get_u8_array(msg, test_types->
u8_array);
711 mavlink_msg_test_types_get_s8_array(msg, test_types->
s8_array);
uint64_t u64_array[3]
uint64_t_array
Definition: mavlink_msg_test_types.h:10
#define _mav_put_float(buf, wire_offset, b)
Definition: protocol.h:145
uint32_t u32_array[3]
uint32_t_array
Definition: mavlink_msg_test_types.h:16
int8_t s8_array[3]
int8_t_array
Definition: mavlink_msg_test_types.h:28
int16_t s16_array[3]
int16_t_array
Definition: mavlink_msg_test_types.h:22
#define MAVLINK_MSG_ID_TEST_TYPES_LEN
Definition: mavlink_msg_test_types.h:31
char c
char
Definition: mavlink_msg_test_types.h:23
#define _MAV_RETURN_uint8_t(msg, wire_offset)
Definition: protocol.h:238
Definition: mavlink_msg_test_types.h:5
#define MAVLINK_MSG_ID_TEST_TYPES_CRC
Definition: mavlink_msg_test_types.h:34
#define _mav_put_int64_t(buf, wire_offset, b)
Definition: protocol.h:144
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_put_uint64_t(buf, wire_offset, b)
Definition: protocol.h:143
#define _mav_put_int32_t(buf, wire_offset, b)
Definition: protocol.h:142
int8_t s8
int8_t
Definition: mavlink_msg_test_types.h:26
#define _MAV_PAYLOAD_NON_CONST(msg)
Definition: mavlink_types.h:172
int64_t s64
int64_t
Definition: mavlink_msg_test_types.h:8
#define MAVLINK_MSG_ID_TEST_TYPES
Definition: mavlink_msg_test_types.h:3
#define _MAV_RETURN_int8_t(msg, wire_offset)
Definition: protocol.h:237
float f_array[3]
float_array
Definition: mavlink_msg_test_types.h:18
mavlink_channel_t
Definition: mavlink_types.h:178
uint32_t u32
uint32_t
Definition: mavlink_msg_test_types.h:13
uint16_t u16
uint16_t
Definition: mavlink_msg_test_types.h:19
int32_t s32
int32_t
Definition: mavlink_msg_test_types.h:14
#define _MAV_PAYLOAD(msg)
Definition: mavlink_types.h:171
int16_t s16
int16_t
Definition: mavlink_msg_test_types.h:20
uint8_t u8
uint8_t
Definition: mavlink_msg_test_types.h:25
#define _mav_put_char(buf, wire_offset, b)
Definition: protocol.h:136
double d
double
Definition: mavlink_msg_test_types.h:9
uint8_t u8_array[3]
uint8_t_array
Definition: mavlink_msg_test_types.h:27
#define _mav_put_int8_t(buf, wire_offset, b)
Definition: protocol.h:135
uint16_t u16_array[3]
uint16_t_array
Definition: mavlink_msg_test_types.h:21
int32_t s32_array[3]
int32_t_array
Definition: mavlink_msg_test_types.h:17
struct __mavlink_test_types_t mavlink_test_types_t
#define _mav_put_double(buf, wire_offset, b)
Definition: protocol.h:146
uint64_t u64
uint64_t
Definition: mavlink_msg_test_types.h:7
#define _MAV_RETURN_char(msg, wire_offset)
Definition: protocol.h:236
#define _mav_put_uint16_t(buf, wire_offset, b)
Definition: protocol.h:139
char s[10]
string
Definition: mavlink_msg_test_types.h:24
int64_t s64_array[3]
int64_t_array
Definition: mavlink_msg_test_types.h:11
double d_array[3]
double_array
Definition: mavlink_msg_test_types.h:12
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 _mav_put_int16_t(buf, wire_offset, b)
Definition: protocol.h:140
float f
float
Definition: mavlink_msg_test_types.h:15
#define _mav_put_uint32_t(buf, wire_offset, b)
Definition: protocol.h:141