44 #define INPUT_RC_RC_INPUT_SOURCE_UNKNOWN 0 45 #define INPUT_RC_RC_INPUT_SOURCE_PX4FMU_PPM 1 46 #define INPUT_RC_RC_INPUT_SOURCE_PX4IO_PPM 2 47 #define INPUT_RC_RC_INPUT_SOURCE_PX4IO_SPEKTRUM 3 48 #define INPUT_RC_RC_INPUT_SOURCE_PX4IO_SBUS 4 49 #define INPUT_RC_RC_INPUT_SOURCE_PX4IO_ST24 5 50 #define INPUT_RC_RC_INPUT_SOURCE_MAVLINK 6 51 #define INPUT_RC_RC_INPUT_SOURCE_QURT 7 52 #define INPUT_RC_RC_INPUT_SOURCE_PX4FMU_SPEKTRUM 8 53 #define INPUT_RC_RC_INPUT_SOURCE_PX4FMU_SBUS 9 54 #define INPUT_RC_RC_INPUT_SOURCE_PX4FMU_ST24 10 55 #define INPUT_RC_RC_INPUT_SOURCE_PX4FMU_SUMD 11 56 #define INPUT_RC_RC_INPUT_SOURCE_PX4FMU_DSM 12 57 #define INPUT_RC_RC_INPUT_SOURCE_PX4IO_SUMD 13 58 #define INPUT_RC_RC_INPUT_SOURCE_PX4FMU_CRSF 14 59 #define INPUT_RC_RC_INPUT_MAX_CHANNELS 18 84 static constexpr uint8_t RC_INPUT_SOURCE_UNKNOWN = 0;
85 static constexpr uint8_t RC_INPUT_SOURCE_PX4FMU_PPM = 1;
86 static constexpr uint8_t RC_INPUT_SOURCE_PX4IO_PPM = 2;
87 static constexpr uint8_t RC_INPUT_SOURCE_PX4IO_SPEKTRUM = 3;
88 static constexpr uint8_t RC_INPUT_SOURCE_PX4IO_SBUS = 4;
89 static constexpr uint8_t RC_INPUT_SOURCE_PX4IO_ST24 = 5;
90 static constexpr uint8_t RC_INPUT_SOURCE_MAVLINK = 6;
91 static constexpr uint8_t RC_INPUT_SOURCE_QURT = 7;
92 static constexpr uint8_t RC_INPUT_SOURCE_PX4FMU_SPEKTRUM = 8;
93 static constexpr uint8_t RC_INPUT_SOURCE_PX4FMU_SBUS = 9;
94 static constexpr uint8_t RC_INPUT_SOURCE_PX4FMU_ST24 = 10;
95 static constexpr uint8_t RC_INPUT_SOURCE_PX4FMU_SUMD = 11;
96 static constexpr uint8_t RC_INPUT_SOURCE_PX4FMU_DSM = 12;
97 static constexpr uint8_t RC_INPUT_SOURCE_PX4IO_SUMD = 13;
98 static constexpr uint8_t RC_INPUT_SOURCE_PX4FMU_CRSF = 14;
99 static constexpr uint8_t RC_INPUT_MAX_CHANNELS = 18;
109 void print_message(
const input_rc_s& message);
API for the uORB lightweight object broker.