44 #define RC_CHANNELS_RC_CHANNELS_FUNCTION_THROTTLE 0 45 #define RC_CHANNELS_RC_CHANNELS_FUNCTION_ROLL 1 46 #define RC_CHANNELS_RC_CHANNELS_FUNCTION_PITCH 2 47 #define RC_CHANNELS_RC_CHANNELS_FUNCTION_YAW 3 48 #define RC_CHANNELS_RC_CHANNELS_FUNCTION_MODE 4 49 #define RC_CHANNELS_RC_CHANNELS_FUNCTION_RETURN 5 50 #define RC_CHANNELS_RC_CHANNELS_FUNCTION_POSCTL 6 51 #define RC_CHANNELS_RC_CHANNELS_FUNCTION_LOITER 7 52 #define RC_CHANNELS_RC_CHANNELS_FUNCTION_OFFBOARD 8 53 #define RC_CHANNELS_RC_CHANNELS_FUNCTION_ACRO 9 54 #define RC_CHANNELS_RC_CHANNELS_FUNCTION_FLAPS 10 55 #define RC_CHANNELS_RC_CHANNELS_FUNCTION_AUX_1 11 56 #define RC_CHANNELS_RC_CHANNELS_FUNCTION_AUX_2 12 57 #define RC_CHANNELS_RC_CHANNELS_FUNCTION_AUX_3 13 58 #define RC_CHANNELS_RC_CHANNELS_FUNCTION_AUX_4 14 59 #define RC_CHANNELS_RC_CHANNELS_FUNCTION_AUX_5 15 60 #define RC_CHANNELS_RC_CHANNELS_FUNCTION_PARAM_1 16 61 #define RC_CHANNELS_RC_CHANNELS_FUNCTION_PARAM_2 17 62 #define RC_CHANNELS_RC_CHANNELS_FUNCTION_PARAM_3_5 18 63 #define RC_CHANNELS_RC_CHANNELS_FUNCTION_RATTITUDE 19 64 #define RC_CHANNELS_RC_CHANNELS_FUNCTION_KILLSWITCH 20 65 #define RC_CHANNELS_RC_CHANNELS_FUNCTION_TRANSITION 21 66 #define RC_CHANNELS_RC_CHANNELS_FUNCTION_GEAR 22 67 #define RC_CHANNELS_RC_CHANNELS_FUNCTION_ARMSWITCH 23 68 #define RC_CHANNELS_RC_CHANNELS_FUNCTION_STAB 24 69 #define RC_CHANNELS_RC_CHANNELS_FUNCTION_AUX_6 25 70 #define RC_CHANNELS_RC_CHANNELS_FUNCTION_MAN 26 92 static constexpr uint8_t RC_CHANNELS_FUNCTION_THROTTLE = 0;
93 static constexpr uint8_t RC_CHANNELS_FUNCTION_ROLL = 1;
94 static constexpr uint8_t RC_CHANNELS_FUNCTION_PITCH = 2;
95 static constexpr uint8_t RC_CHANNELS_FUNCTION_YAW = 3;
96 static constexpr uint8_t RC_CHANNELS_FUNCTION_MODE = 4;
97 static constexpr uint8_t RC_CHANNELS_FUNCTION_RETURN = 5;
98 static constexpr uint8_t RC_CHANNELS_FUNCTION_POSCTL = 6;
99 static constexpr uint8_t RC_CHANNELS_FUNCTION_LOITER = 7;
100 static constexpr uint8_t RC_CHANNELS_FUNCTION_OFFBOARD = 8;
101 static constexpr uint8_t RC_CHANNELS_FUNCTION_ACRO = 9;
102 static constexpr uint8_t RC_CHANNELS_FUNCTION_FLAPS = 10;
103 static constexpr uint8_t RC_CHANNELS_FUNCTION_AUX_1 = 11;
104 static constexpr uint8_t RC_CHANNELS_FUNCTION_AUX_2 = 12;
105 static constexpr uint8_t RC_CHANNELS_FUNCTION_AUX_3 = 13;
106 static constexpr uint8_t RC_CHANNELS_FUNCTION_AUX_4 = 14;
107 static constexpr uint8_t RC_CHANNELS_FUNCTION_AUX_5 = 15;
108 static constexpr uint8_t RC_CHANNELS_FUNCTION_PARAM_1 = 16;
109 static constexpr uint8_t RC_CHANNELS_FUNCTION_PARAM_2 = 17;
110 static constexpr uint8_t RC_CHANNELS_FUNCTION_PARAM_3_5 = 18;
111 static constexpr uint8_t RC_CHANNELS_FUNCTION_RATTITUDE = 19;
112 static constexpr uint8_t RC_CHANNELS_FUNCTION_KILLSWITCH = 20;
113 static constexpr uint8_t RC_CHANNELS_FUNCTION_TRANSITION = 21;
114 static constexpr uint8_t RC_CHANNELS_FUNCTION_GEAR = 22;
115 static constexpr uint8_t RC_CHANNELS_FUNCTION_ARMSWITCH = 23;
116 static constexpr uint8_t RC_CHANNELS_FUNCTION_STAB = 24;
117 static constexpr uint8_t RC_CHANNELS_FUNCTION_AUX_6 = 25;
118 static constexpr uint8_t RC_CHANNELS_FUNCTION_MAN = 26;
uint64_t timestamp_last_valid
API for the uORB lightweight object broker.
uint32_t frame_drop_count