FlightMode.hpp
Go to the documentation of this file.
1 #ifndef FLIGHTMODE_HPP
2 #define FLIGHTMODE_HPP
3 
4 namespace fcu {
5 
6 struct FlightMode {
7  enum class PRIMARY_MODE : uint32_t {
8  UNSET = 0,
9  ANGLE,
10  HORIZON,
12  NAV_CRUISE,
13  NAV_RTH,
14  NAV_WP,
15  MANUAL
16  };
17 
18  enum class SECONDARY_MODE : uint32_t {
19  NONE = 0,
20  NAV_ALTHOLD = 1 << 0,
21  TURN_ASSIST = 1 << 1,
22  AIR_MODE = 1 << 2,
23  SURFACE = 1 << 3,
24  HEADING_HOLD = 1 << 4,
25  HEADFREE = 1 << 5,
26  HEADADJ = 1 << 6
27  };
28 
29  enum class MODIFIER : uint32_t {
30  NONE = 0,
31  ARM = 1 << 0,
32  CAMSTAB = 1 << 1,
33  BEEPER = 1 << 2,
34  LEDLOW = 1 << 3,
35  OSD_SW = 1 << 4,
36  TELEMETRY = 1 << 5,
37  BLACKBOX = 1 << 6,
38  FAILSAFE = 1 << 7,
39  HOME_RESET = 1 << 8,
40  GCS_NAV = 1 << 9,
41  FLAPERON = 1 << 10,
42  NAV_LAUNCH = 1 << 11,
43  SERVO_AUTOTRIM = 1 << 12,
44  AUTOTUNE = 1 << 13
45  };
46 
50 };
51 
52 } // namespace fcu
53 
54 #endif
MODIFIER modifier
Definition: FlightMode.hpp:49
SECONDARY_MODE secondary
Definition: FlightMode.hpp:48
PRIMARY_MODE primary
Definition: FlightMode.hpp:47


msp
Author(s): Christian Rauch
autogenerated on Tue Oct 6 2020 03:38:57