mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
drivers/rc_input: port to linux for testing
This commit is contained in:
@@ -79,6 +79,7 @@ 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
|
||||
|
||||
# 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
|
||||
|
||||
@@ -78,6 +78,7 @@ 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
|
||||
|
||||
# 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,6 +40,8 @@ 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
|
||||
|
||||
linux_pwm_out start -p ocpoc_mmap -m ROMFS/px4fmu_common/mixers/ocpoc_quad_x.main.mix
|
||||
logger start -t -b 200
|
||||
mavlink boot_complete
|
||||
|
||||
Reference in New Issue
Block a user