You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

96 lines
2.4 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. /** @file
  2. * @brief MAVLink comm protocol generated from icarous.xml
  3. * @see http://mavlink.org
  4. */
  5. #pragma once
  6. #ifndef MAVLINK_ICAROUS_H
  7. #define MAVLINK_ICAROUS_H
  8. #ifndef MAVLINK_H
  9. #error Wrong include order: MAVLINK_ICAROUS.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.
  10. #endif
  11. #undef MAVLINK_THIS_XML_IDX
  12. #define MAVLINK_THIS_XML_IDX 3
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. // MESSAGE LENGTHS AND CRCS
  17. #ifndef MAVLINK_MESSAGE_LENGTHS
  18. #define MAVLINK_MESSAGE_LENGTHS {}
  19. #endif
  20. #ifndef MAVLINK_MESSAGE_CRCS
  21. #define MAVLINK_MESSAGE_CRCS {{42000, 227, 1, 1, 0, 0, 0}, {42001, 239, 46, 46, 0, 0, 0}}
  22. #endif
  23. #include "../protocol.h"
  24. #define MAVLINK_ENABLED_ICAROUS
  25. // ENUM DEFINITIONS
  26. /** @brief */
  27. #ifndef HAVE_ENUM_ICAROUS_TRACK_BAND_TYPES
  28. #define HAVE_ENUM_ICAROUS_TRACK_BAND_TYPES
  29. typedef enum ICAROUS_TRACK_BAND_TYPES
  30. {
  31. ICAROUS_TRACK_BAND_TYPE_NONE=0, /* | */
  32. ICAROUS_TRACK_BAND_TYPE_NEAR=1, /* | */
  33. ICAROUS_TRACK_BAND_TYPE_RECOVERY=2, /* | */
  34. ICAROUS_TRACK_BAND_TYPES_ENUM_END=3, /* | */
  35. } ICAROUS_TRACK_BAND_TYPES;
  36. #endif
  37. /** @brief */
  38. #ifndef HAVE_ENUM_ICAROUS_FMS_STATE
  39. #define HAVE_ENUM_ICAROUS_FMS_STATE
  40. typedef enum ICAROUS_FMS_STATE
  41. {
  42. ICAROUS_FMS_STATE_IDLE=0, /* | */
  43. ICAROUS_FMS_STATE_TAKEOFF=1, /* | */
  44. ICAROUS_FMS_STATE_CLIMB=2, /* | */
  45. ICAROUS_FMS_STATE_CRUISE=3, /* | */
  46. ICAROUS_FMS_STATE_APPROACH=4, /* | */
  47. ICAROUS_FMS_STATE_LAND=5, /* | */
  48. ICAROUS_FMS_STATE_ENUM_END=6, /* | */
  49. } ICAROUS_FMS_STATE;
  50. #endif
  51. // MAVLINK VERSION
  52. #ifndef MAVLINK_VERSION
  53. #define MAVLINK_VERSION 2
  54. #endif
  55. #if (MAVLINK_VERSION == 0)
  56. #undef MAVLINK_VERSION
  57. #define MAVLINK_VERSION 2
  58. #endif
  59. // MESSAGE DEFINITIONS
  60. #include "./mavlink_msg_icarous_heartbeat.h"
  61. #include "./mavlink_msg_icarous_kinematic_bands.h"
  62. // base include
  63. #undef MAVLINK_THIS_XML_IDX
  64. #define MAVLINK_THIS_XML_IDX 3
  65. #if MAVLINK_THIS_XML_IDX == MAVLINK_PRIMARY_XML_IDX
  66. # define MAVLINK_MESSAGE_INFO {MAVLINK_MESSAGE_INFO_ICAROUS_HEARTBEAT, MAVLINK_MESSAGE_INFO_ICAROUS_KINEMATIC_BANDS}
  67. # define MAVLINK_MESSAGE_NAMES {{ "ICAROUS_HEARTBEAT", 42000 }, { "ICAROUS_KINEMATIC_BANDS", 42001 }}
  68. # if MAVLINK_COMMAND_24BIT
  69. # include "../mavlink_get_info.h"
  70. # endif
  71. #endif
  72. #ifdef __cplusplus
  73. }
  74. #endif // __cplusplus
  75. #endif // MAVLINK_ICAROUS_H