mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-30 06:43:34 +08:00
px4_fmu-v6xrt: Fix TELEM2 always being used for mavlink
This commit is contained in:
committed by
David Sidrane
parent
8a68a66203
commit
66544d080a
@@ -1,7 +1,13 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# board specific MAVLink startup script.
|
# PX4 FMUv6X-RT specific board MAVLink startup script.
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
# Start MAVLink on the UART connected to the mission computer
|
# if skynode base board is detected start Mavlink on Telem2
|
||||||
mavlink start -d /dev/ttyS5 -b 3000000 -r 290000 -m onboard_low_bandwidth -x -z
|
if ver hwtypecmp V6XRT009000 V6XRT010000
|
||||||
|
then
|
||||||
|
mavlink start -d /dev/ttyS5 -b 3000000 -r 290000 -m onboard_low_bandwidth -x -z
|
||||||
|
|
||||||
|
# Ensure nothing else starts on TEL2 (ttyS5)
|
||||||
|
set PRT_TEL2_ 1
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user