RflySimSDK
v3.05
RflySimSDK说明文档
载入中...
搜索中...
未找到
simulink
mavlink
test
test.h
浏览该文件的文档.
1
5
#pragma once
6
#ifndef MAVLINK_TEST_H
7
#define MAVLINK_TEST_H
8
9
#ifndef MAVLINK_H
10
#error Wrong include order: MAVLINK_TEST.H MUST NOT BE DIRECTLY USED. Include mavlink.h from the same directory instead or set ALL AND EVERY defines from MAVLINK.H manually accordingly, including the #define MAVLINK_H call.
11
#endif
12
13
#undef MAVLINK_THIS_XML_IDX
14
#define MAVLINK_THIS_XML_IDX 0
15
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
19
20
// MESSAGE LENGTHS AND CRCS
21
22
#ifndef MAVLINK_MESSAGE_LENGTHS
23
#define MAVLINK_MESSAGE_LENGTHS {}
24
#endif
25
26
#ifndef MAVLINK_MESSAGE_CRCS
27
#define MAVLINK_MESSAGE_CRCS {{0, 103, 179, 0, 0, 0}}
28
#endif
29
30
#include "../protocol.h"
31
32
#define MAVLINK_ENABLED_TEST
33
34
// ENUM DEFINITIONS
35
36
37
38
// MAVLINK VERSION
39
40
#ifndef MAVLINK_VERSION
41
#define MAVLINK_VERSION 3
42
#endif
43
44
#if (MAVLINK_VERSION == 0)
45
#undef MAVLINK_VERSION
46
#define MAVLINK_VERSION 3
47
#endif
48
49
// MESSAGE DEFINITIONS
50
#include "./mavlink_msg_test_types.h"
51
52
// base include
53
54
55
#undef MAVLINK_THIS_XML_IDX
56
#define MAVLINK_THIS_XML_IDX 0
57
58
#if MAVLINK_THIS_XML_IDX == MAVLINK_PRIMARY_XML_IDX
59
# define MAVLINK_MESSAGE_INFO {MAVLINK_MESSAGE_INFO_TEST_TYPES}
60
# define MAVLINK_MESSAGE_NAMES {{ "TEST_TYPES", 0 }}
61
# if MAVLINK_COMMAND_24BIT
62
# include "../mavlink_get_info.h"
63
# endif
64
#endif
65
66
#ifdef __cplusplus
67
}
68
#endif
// __cplusplus
69
#endif
// MAVLINK_TEST_H
制作者
1.11.0