v6x: start mavlink on TELEM2 for skynode

Equivalent to v5x
This commit is contained in:
Beat Küng 2023-06-22 11:00:31 +02:00
parent abe0ca1307
commit bae413a332
2 changed files with 16 additions and 0 deletions

View File

@ -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

View File

@ -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