Go to the source code of this file.
Classes | |
struct | __mavlink_test_types_t |
Macros | |
#define | MAVLINK_MESSAGE_INFO_TEST_TYPES |
#define | MAVLINK_MSG_ID_0_CRC 91 |
#define | MAVLINK_MSG_ID_0_LEN 179 |
#define | MAVLINK_MSG_ID_TEST_TYPES 0 |
#define | MAVLINK_MSG_ID_TEST_TYPES_CRC 91 |
#define | MAVLINK_MSG_ID_TEST_TYPES_LEN 179 |
#define | MAVLINK_MSG_TEST_TYPES_FIELD_D_ARRAY_LEN 3 |
#define | MAVLINK_MSG_TEST_TYPES_FIELD_F_ARRAY_LEN 3 |
#define | MAVLINK_MSG_TEST_TYPES_FIELD_S16_ARRAY_LEN 3 |
#define | MAVLINK_MSG_TEST_TYPES_FIELD_S32_ARRAY_LEN 3 |
#define | MAVLINK_MSG_TEST_TYPES_FIELD_S64_ARRAY_LEN 3 |
#define | MAVLINK_MSG_TEST_TYPES_FIELD_S8_ARRAY_LEN 3 |
#define | MAVLINK_MSG_TEST_TYPES_FIELD_S_LEN 10 |
#define | MAVLINK_MSG_TEST_TYPES_FIELD_U16_ARRAY_LEN 3 |
#define | MAVLINK_MSG_TEST_TYPES_FIELD_U32_ARRAY_LEN 3 |
#define | MAVLINK_MSG_TEST_TYPES_FIELD_U64_ARRAY_LEN 3 |
#define | MAVLINK_MSG_TEST_TYPES_FIELD_U8_ARRAY_LEN 3 |
Typedefs | |
typedef struct __mavlink_test_types_t | mavlink_test_types_t |
Functions | |
static void | mavlink_msg_test_types_decode (const mavlink_message_t *msg, mavlink_test_types_t *test_types) |
Decode a test_types message into a struct. More... | |
static 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) |
Encode a test_types struct into a message. More... | |
static char | mavlink_msg_test_types_get_c (const mavlink_message_t *msg) |
Send a test_types message. More... | |
static double | mavlink_msg_test_types_get_d (const mavlink_message_t *msg) |
Get field d from test_types message. More... | |
static uint16_t | mavlink_msg_test_types_get_d_array (const mavlink_message_t *msg, double *d_array) |
Get field d_array from test_types message. More... | |
static float | mavlink_msg_test_types_get_f (const mavlink_message_t *msg) |
Get field f from test_types message. More... | |
static uint16_t | mavlink_msg_test_types_get_f_array (const mavlink_message_t *msg, float *f_array) |
Get field f_array from test_types message. More... | |
static uint16_t | mavlink_msg_test_types_get_s (const mavlink_message_t *msg, char *s) |
Get field s from test_types message. More... | |
static int16_t | mavlink_msg_test_types_get_s16 (const mavlink_message_t *msg) |
Get field s16 from test_types message. More... | |
static uint16_t | mavlink_msg_test_types_get_s16_array (const mavlink_message_t *msg, int16_t *s16_array) |
Get field s16_array from test_types message. More... | |
static int32_t | mavlink_msg_test_types_get_s32 (const mavlink_message_t *msg) |
Get field s32 from test_types message. More... | |
static uint16_t | mavlink_msg_test_types_get_s32_array (const mavlink_message_t *msg, int32_t *s32_array) |
Get field s32_array from test_types message. More... | |
static int64_t | mavlink_msg_test_types_get_s64 (const mavlink_message_t *msg) |
Get field s64 from test_types message. More... | |
static uint16_t | mavlink_msg_test_types_get_s64_array (const mavlink_message_t *msg, int64_t *s64_array) |
Get field s64_array from test_types message. More... | |
static int8_t | mavlink_msg_test_types_get_s8 (const mavlink_message_t *msg) |
Get field s8 from test_types message. More... | |
static uint16_t | mavlink_msg_test_types_get_s8_array (const mavlink_message_t *msg, int8_t *s8_array) |
Get field s8_array from test_types message. More... | |
static uint16_t | mavlink_msg_test_types_get_u16 (const mavlink_message_t *msg) |
Get field u16 from test_types message. More... | |
static uint16_t | mavlink_msg_test_types_get_u16_array (const mavlink_message_t *msg, uint16_t *u16_array) |
Get field u16_array from test_types message. More... | |
static uint32_t | mavlink_msg_test_types_get_u32 (const mavlink_message_t *msg) |
Get field u32 from test_types message. More... | |
static uint16_t | mavlink_msg_test_types_get_u32_array (const mavlink_message_t *msg, uint32_t *u32_array) |
Get field u32_array from test_types message. More... | |
static uint64_t | mavlink_msg_test_types_get_u64 (const mavlink_message_t *msg) |
Get field u64 from test_types message. More... | |
static uint16_t | mavlink_msg_test_types_get_u64_array (const mavlink_message_t *msg, uint64_t *u64_array) |
Get field u64_array from test_types message. More... | |
static uint8_t | mavlink_msg_test_types_get_u8 (const mavlink_message_t *msg) |
Get field u8 from test_types message. More... | |
static uint16_t | mavlink_msg_test_types_get_u8_array (const mavlink_message_t *msg, uint8_t *u8_array) |
Get field u8_array from test_types message. More... | |
static uint16_t | mavlink_msg_test_types_pack (uint8_t system_id, uint8_t component_id, mavlink_message_t *msg, 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) |
Pack a test_types message. More... | |
static uint16_t | mavlink_msg_test_types_pack_chan (uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t *msg, 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) |
Pack a test_types message on a channel. More... | |
#define MAVLINK_MESSAGE_INFO_TEST_TYPES |
Definition at line 49 of file include_v0.9/test/mavlink_msg_test_types.h.
#define MAVLINK_MSG_ID_0_CRC 91 |
Definition at line 35 of file include_v0.9/test/mavlink_msg_test_types.h.
#define MAVLINK_MSG_ID_0_LEN 179 |
Definition at line 32 of file include_v0.9/test/mavlink_msg_test_types.h.
#define MAVLINK_MSG_ID_TEST_TYPES 0 |
Definition at line 3 of file include_v0.9/test/mavlink_msg_test_types.h.
#define MAVLINK_MSG_ID_TEST_TYPES_CRC 91 |
Definition at line 34 of file include_v0.9/test/mavlink_msg_test_types.h.
#define MAVLINK_MSG_ID_TEST_TYPES_LEN 179 |
Definition at line 31 of file include_v0.9/test/mavlink_msg_test_types.h.
#define MAVLINK_MSG_TEST_TYPES_FIELD_D_ARRAY_LEN 3 |
Definition at line 47 of file include_v0.9/test/mavlink_msg_test_types.h.
#define MAVLINK_MSG_TEST_TYPES_FIELD_F_ARRAY_LEN 3 |
Definition at line 46 of file include_v0.9/test/mavlink_msg_test_types.h.
#define MAVLINK_MSG_TEST_TYPES_FIELD_S16_ARRAY_LEN 3 |
Definition at line 43 of file include_v0.9/test/mavlink_msg_test_types.h.
#define MAVLINK_MSG_TEST_TYPES_FIELD_S32_ARRAY_LEN 3 |
Definition at line 44 of file include_v0.9/test/mavlink_msg_test_types.h.
#define MAVLINK_MSG_TEST_TYPES_FIELD_S64_ARRAY_LEN 3 |
Definition at line 45 of file include_v0.9/test/mavlink_msg_test_types.h.
#define MAVLINK_MSG_TEST_TYPES_FIELD_S8_ARRAY_LEN 3 |
Definition at line 42 of file include_v0.9/test/mavlink_msg_test_types.h.
#define MAVLINK_MSG_TEST_TYPES_FIELD_S_LEN 10 |
Definition at line 37 of file include_v0.9/test/mavlink_msg_test_types.h.
#define MAVLINK_MSG_TEST_TYPES_FIELD_U16_ARRAY_LEN 3 |
Definition at line 39 of file include_v0.9/test/mavlink_msg_test_types.h.
#define MAVLINK_MSG_TEST_TYPES_FIELD_U32_ARRAY_LEN 3 |
Definition at line 40 of file include_v0.9/test/mavlink_msg_test_types.h.
#define MAVLINK_MSG_TEST_TYPES_FIELD_U64_ARRAY_LEN 3 |
Definition at line 41 of file include_v0.9/test/mavlink_msg_test_types.h.
#define MAVLINK_MSG_TEST_TYPES_FIELD_U8_ARRAY_LEN 3 |
Definition at line 38 of file include_v0.9/test/mavlink_msg_test_types.h.
typedef struct __mavlink_test_types_t mavlink_test_types_t |
|
inlinestatic |
Decode a test_types message into a struct.
msg | The message to decode |
test_types | C-struct to decode the message contents into |
Definition at line 601 of file include_v0.9/test/mavlink_msg_test_types.h.
|
inlinestatic |
Encode a test_types struct into a message.
system_id | ID of this system |
component_id | ID of this component (e.g. 200 for IMU) |
msg | The MAVLink message to compress the data into |
test_types | C-struct to read the message contents from |
Definition at line 273 of file include_v0.9/test/mavlink_msg_test_types.h.
|
inlinestatic |
Send a test_types message.
chan | MAVLink channel to send the message |
c | char |
s | string |
u8 | uint8_t |
u16 | uint16_t |
u32 | uint32_t |
u64 | uint64_t |
s8 | int8_t |
s16 | int16_t |
s32 | int32_t |
s64 | int64_t |
f | float |
d | double |
u8_array | uint8_t_array |
u16_array | uint16_t_array |
u32_array | uint32_t_array |
u64_array | uint64_t_array |
s8_array | int8_t_array |
s16_array | int16_t_array |
s32_array | int32_t_array |
s64_array | int64_t_array |
f_array | float_array |
d_array | double_array Get field c from test_types message |
Definition at line 380 of file include_v0.9/test/mavlink_msg_test_types.h.
|
inlinestatic |
Get field d from test_types message.
Definition at line 490 of file include_v0.9/test/mavlink_msg_test_types.h.
|
inlinestatic |
Get field d_array from test_types message.
Definition at line 590 of file include_v0.9/test/mavlink_msg_test_types.h.
|
inlinestatic |
Get field f from test_types message.
Definition at line 480 of file include_v0.9/test/mavlink_msg_test_types.h.
|
inlinestatic |
Get field f_array from test_types message.
Definition at line 580 of file include_v0.9/test/mavlink_msg_test_types.h.
|
inlinestatic |
Get field s from test_types message.
Definition at line 390 of file include_v0.9/test/mavlink_msg_test_types.h.
|
inlinestatic |
Get field s16 from test_types message.
Definition at line 450 of file include_v0.9/test/mavlink_msg_test_types.h.
|
inlinestatic |
Get field s16_array from test_types message.
Definition at line 550 of file include_v0.9/test/mavlink_msg_test_types.h.
|
inlinestatic |
Get field s32 from test_types message.
Definition at line 460 of file include_v0.9/test/mavlink_msg_test_types.h.
|
inlinestatic |
Get field s32_array from test_types message.
Definition at line 560 of file include_v0.9/test/mavlink_msg_test_types.h.
|
inlinestatic |
Get field s64 from test_types message.
Definition at line 470 of file include_v0.9/test/mavlink_msg_test_types.h.
|
inlinestatic |
Get field s64_array from test_types message.
Definition at line 570 of file include_v0.9/test/mavlink_msg_test_types.h.
|
inlinestatic |
Get field s8 from test_types message.
Definition at line 440 of file include_v0.9/test/mavlink_msg_test_types.h.
|
inlinestatic |
Get field s8_array from test_types message.
Definition at line 540 of file include_v0.9/test/mavlink_msg_test_types.h.
|
inlinestatic |
Get field u16 from test_types message.
Definition at line 410 of file include_v0.9/test/mavlink_msg_test_types.h.
|
inlinestatic |
Get field u16_array from test_types message.
Definition at line 510 of file include_v0.9/test/mavlink_msg_test_types.h.
|
inlinestatic |
Get field u32 from test_types message.
Definition at line 420 of file include_v0.9/test/mavlink_msg_test_types.h.
|
inlinestatic |
Get field u32_array from test_types message.
Definition at line 520 of file include_v0.9/test/mavlink_msg_test_types.h.
|
inlinestatic |
Get field u64 from test_types message.
Definition at line 430 of file include_v0.9/test/mavlink_msg_test_types.h.
|
inlinestatic |
Get field u64_array from test_types message.
Definition at line 530 of file include_v0.9/test/mavlink_msg_test_types.h.
|
inlinestatic |
Get field u8 from test_types message.
Definition at line 400 of file include_v0.9/test/mavlink_msg_test_types.h.
|
inlinestatic |
Get field u8_array from test_types message.
Definition at line 500 of file include_v0.9/test/mavlink_msg_test_types.h.
|
inlinestatic |
Pack a test_types message.
system_id | ID of this system |
component_id | ID of this component (e.g. 200 for IMU) |
msg | The MAVLink message to compress the data into |
c | char |
s | string |
u8 | uint8_t |
u16 | uint16_t |
u32 | uint32_t |
u64 | uint64_t |
s8 | int8_t |
s16 | int16_t |
s32 | int32_t |
s64 | int64_t |
f | float |
d | double |
u8_array | uint8_t_array |
u16_array | uint16_t_array |
u32_array | uint32_t_array |
u64_array | uint64_t_array |
s8_array | int8_t_array |
s16_array | int16_t_array |
s32_array | int32_t_array |
s64_array | int64_t_array |
f_array | float_array |
d_array | double_array |
Definition at line 108 of file include_v0.9/test/mavlink_msg_test_types.h.
|
inlinestatic |
Pack a test_types message on a channel.
system_id | ID of this system |
component_id | ID of this component (e.g. 200 for IMU) |
chan | The MAVLink channel this message was sent over |
msg | The MAVLink message to compress the data into |
c | char |
s | string |
u8 | uint8_t |
u16 | uint16_t |
u32 | uint32_t |
u64 | uint64_t |
s8 | int8_t |
s16 | int16_t |
s32 | int32_t |
s64 | int64_t |
f | float |
d | double |
u8_array | uint8_t_array |
u16_array | uint16_t_array |
u32_array | uint32_t_array |
u64_array | uint64_t_array |
s8_array | int8_t_array |
s16_array | int16_t_array |
s32_array | int32_t_array |
s64_array | int64_t_array |
f_array | float_array |
d_array | double_array |
Definition at line 201 of file include_v0.9/test/mavlink_msg_test_types.h.