forked from Archive/PX4-Autopilot
v6x: start mavlink on TELEM2 for skynode
Equivalent to v5x
This commit is contained in:
parent
abe0ca1307
commit
bae413a332
|
@ -7,4 +7,7 @@ if ver hwtypecmp V5X009000 V5X009001 V5X00a000 V5X00a001 V5X008000 V5X008001 V5X
|
|||
then
|
||||
# Start MAVLink on the UART connected to the mission computer
|
||||
mavlink start -d /dev/ttyS4 -b 3000000 -r 290000 -m onboard_low_bandwidth -x -z
|
||||
|
||||
# Ensure nothing else starts on TEL2 (ttyS4)
|
||||
set PRT_TEL2_ 1
|
||||
fi
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# PX4 FMUv6X specific board MAVLink startup script.
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# if skynode base board is detected start Mavlink on Telem2
|
||||
if ver hwtypecmp V6X009010 V6X010010
|
||||
then
|
||||
mavlink start -d /dev/ttyS4 -b 3000000 -r 290000 -m onboard_low_bandwidth -x -z
|
||||
|
||||
# Ensure nothing else starts on TEL2 (ttyS4)
|
||||
set PRT_TEL2_ 1
|
||||
fi
|
Loading…
Reference in New Issue