mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user