purge drivers/linux_sbus

- rc_input now provides reliable parsing for SBUS on Linux platform. linux_sbus can be fully removed.
This commit is contained in:
SalimTerryLi
2020-02-03 21:40:27 +08:00
committed by GitHub
parent 20ad3a0ded
commit 9612e40464
12 changed files with 4 additions and 537 deletions

View File

@@ -77,8 +77,7 @@ mavlink start -n SoftAp -x -u 14556 -r 1000000
sleep 1
linux_sbus start -d /dev/ttyS4 -c 16
# DSM2 port is mapped to /dev/ttyS4 (default for linux_sbus)
# RC port is mapped to /dev/ttyS4 (auto-detected)
#rc_input start -d /dev/ttyS4
# default: ROMFS/px4fmu_common/mixers/quad_x.main.mix, 8 output channels

View File

@@ -76,9 +76,8 @@ mavlink start -n SoftAp -x -u 14556 -r 1000000
sleep 1
linux_sbus start -d /dev/ttyS4 -c 16
# DSM2 port is mapped to /dev/ttyS4 (default for linux_sbus)
#rc_input start -d /dev/ttyS4
# RC port is mapped to /dev/ttyS4 (auto-detected)
rc_input start -d /dev/ttyS4
# default: ROMFS/px4fmu_common/mixers/quad_x.main.mix, 8 output channels
#linux_pwm_out start -p bbblue_rc -m ROMFS/px4fmu_common/mixers/quad_x.main.mix

View File

@@ -40,8 +40,7 @@ mavlink start -x -d /dev/ttyPS1
mavlink stream -d /dev/ttyPS1 -s HIGHRES_IMU -r 50
mavlink stream -d /dev/ttyPS1 -s ATTITUDE -r 50
linux_sbus start -d /dev/ttyS2 -c 10
#rc_input start -d /dev/ttyS2
rc_input start -d /dev/ttyS2
linux_pwm_out start -p ocpoc_mmap -m ROMFS/px4fmu_common/mixers/ocpoc_quad_x.main.mix
logger start -t -b 200