PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Go to the source code of this file.
Functions | |
int | linux_sbus_main (int argc, char **argv) |
int linux_sbus_main | ( | int | argc, |
char ** | argv | ||
) |
ttyS1 for default, it can be changed through -d parameter
8 channel for default setting, it can be changed through -c parameter
Parse command line and get device and channels count from consolex
Channels count can't be higher than 16;
Check if alloc worked.
Wait for task to die
Definition at line 249 of file linux_sbus.cpp.
References command, linux_sbus::RcInput::isRunning(), linux_sbus::rc_input, linux_sbus::RcInput::RcInput(), linux_sbus::RcInput::start(), linux_sbus::RcInput::stop(), and linux_sbus::usage().