42 #include <sys/types.h> 51 #include <px4_platform_common/px4_config.h> 52 #include <px4_platform_common/px4_work_queue/ScheduledWorkItem.hpp> 53 #include <px4_platform_common/defines.h> 60 #define RCINPUT_MEASURE_INTERVAL_US 20000 64 class RcInput :
public px4::ScheduledWorkItem
67 RcInput() : ScheduledWorkItem(MODULE_NAME,
px4::wq_configurations::hp_default) {}
99 static void usage(
const char *reason);
API for the uORB lightweight object broker.
High-resolution timer with callouts and timekeeping.
__EXPORT int rpi_rc_in_main(int argc, char **argv)
static void usage(const char *reason)
Print the correct usage.
__BEGIN_DECLS typedef void * orb_advert_t
ORB topic advertiser handle.
static RcInput * rc_input