You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# PX4 FMUv5X specific board MAVLink startup script.
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
if ver hwtypecmp V5Xa0 V5X91 V5Xa1
|
|
|
|
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
|
|
|
|
else
|
|
|
|
# Start MAVLink on the USB port
|
|
|
|
mavlink start -d /dev/ttyACM0
|
|
|
|
fi
|