Files
PX4-Autopilot/boards/px4/fmu-v5x/init/rc.board_mavlink
T
2023-07-03 16:20:41 +02:00

14 lines
437 B
Bash

#!/bin/sh
#
# board specific MAVLink startup script.
#------------------------------------------------------------------------------
if ver hwtypecmp V5X009000 V5X009001 V5X00a000 V5X00a001 V5X008000 V5X008001 V5X010001
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