67 lines
1.3 KiB
C
67 lines
1.3 KiB
C
|
/** @file
|
||
|
* @brief MAVLink comm protocol generated from test.xml
|
||
|
* @see http://mavlink.org
|
||
|
*/
|
||
|
#pragma once
|
||
|
#ifndef MAVLINK_TEST_H
|
||
|
#define MAVLINK_TEST_H
|
||
|
|
||
|
#ifndef MAVLINK_H
|
||
|
#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.
|
||
|
#endif
|
||
|
|
||
|
#define MAVLINK_TEST_XML_HASH 6954298194674106034
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C" {
|
||
|
#endif
|
||
|
|
||
|
// MESSAGE LENGTHS AND CRCS
|
||
|
|
||
|
#ifndef MAVLINK_MESSAGE_LENGTHS
|
||
|
#define MAVLINK_MESSAGE_LENGTHS {}
|
||
|
#endif
|
||
|
|
||
|
#ifndef MAVLINK_MESSAGE_CRCS
|
||
|
#define MAVLINK_MESSAGE_CRCS {{17000, 103, 179, 179, 0, 0, 0}}
|
||
|
#endif
|
||
|
|
||
|
#include "../protocol.h"
|
||
|
|
||
|
#define MAVLINK_ENABLED_TEST
|
||
|
|
||
|
// ENUM DEFINITIONS
|
||
|
|
||
|
|
||
|
|
||
|
// MAVLINK VERSION
|
||
|
|
||
|
#ifndef MAVLINK_VERSION
|
||
|
#define MAVLINK_VERSION 3
|
||
|
#endif
|
||
|
|
||
|
#if (MAVLINK_VERSION == 0)
|
||
|
#undef MAVLINK_VERSION
|
||
|
#define MAVLINK_VERSION 3
|
||
|
#endif
|
||
|
|
||
|
// MESSAGE DEFINITIONS
|
||
|
#include "./mavlink_msg_test_types.h"
|
||
|
|
||
|
// base include
|
||
|
|
||
|
|
||
|
|
||
|
#if MAVLINK_TEST_XML_HASH == MAVLINK_PRIMARY_XML_HASH
|
||
|
# define MAVLINK_MESSAGE_INFO {MAVLINK_MESSAGE_INFO_TEST_TYPES}
|
||
|
# define MAVLINK_MESSAGE_NAMES {{ "TEST_TYPES", 17000 }}
|
||
|
# if MAVLINK_COMMAND_24BIT
|
||
|
# include "../mavlink_get_info.h"
|
||
|
# endif
|
||
|
#endif
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif // __cplusplus
|
||
|
#endif // MAVLINK_TEST_H
|