Mavlink startup script per board

-moved rc.mavlink to the boards optional rc additions (now it's called rc.board_mavlink) to handle board specific mavlink needs (mavlink over usb, ethernet, additional streams, etc.)
-mavlink module will be responsible to usb defaults, therefore less args are needed to be passed to mavlink module if one wants to use mavlink over usb.
-the way to check if connection is usb is by it's designated variable and not by config mode.
This commit is contained in:
garfieldG
2019-09-29 10:46:08 -04:00
committed by Daniel Agar
parent fdefaf1ad3
commit bbb96cbd0c
21 changed files with 139 additions and 35 deletions
@@ -0,0 +1,7 @@
#!/bin/sh
#
# Airmind Mindpx-v2 specific board MAVLink startup script.
#------------------------------------------------------------------------------
# Start MAVLink on the USB port
mavlink start -d /dev/ttyACM0
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
#
# AUAV/mRO x21 specific board MAVLink startup script.
#------------------------------------------------------------------------------
# Start MAVLink on the USB port
mavlink start -d /dev/ttyACM0
@@ -1,8 +1,7 @@
#!/bin/sh
#
# av_x1-v1 specific board init
#
#
# av_x1-v1 specific board MAVLink startup script.
#------------------------------------------------------------------------------
# AV-X: start MAVLink to companion (connected to TX2)
mavlink start -d /dev/ttyS5 -b 500000 -m osd
@@ -0,0 +1,7 @@
#!/bin/sh
#
# Bitcraze Crazyflie specific board MAVLink startup script.
#------------------------------------------------------------------------------
# Start MAVLink on the USB port
mavlink start -d /dev/ttyACM0
@@ -0,0 +1,7 @@
#!/bin/sh
#
# KakuteF7 specific specific board MAVLink startup script.
#------------------------------------------------------------------------------
# Start MAVLink on the USB port
mavlink start -d /dev/ttyACM0
@@ -0,0 +1,7 @@
#!/bin/sh
#
# mRo Control Zero specific board MAVLink startup script.
#------------------------------------------------------------------------------
# Start MAVLink on the USB port
mavlink start -d /dev/ttyACM0
@@ -0,0 +1,7 @@
#!/bin/sh
#
# NXP fmuk66-v3 specific board MAVLink startup script.
#------------------------------------------------------------------------------
# Start MAVLink on the USB port
mavlink start -d /dev/ttyACM0
@@ -0,0 +1,7 @@
#!/bin/sh
#
# OmnibusF4SD specific board MAVLink startup script.
#------------------------------------------------------------------------------
# Start MAVLink on the USB port
mavlink start -d /dev/ttyACM0
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
#
# PX4 FMUv2 specific board MAVLink startup script.
#------------------------------------------------------------------------------
# Start MAVLink on the USB port
mavlink start -d /dev/ttyACM0
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
#
# PX4 FMUv3 specific board MAVLink startup script.
#------------------------------------------------------------------------------
# Start MAVLink on the USB port
mavlink start -d /dev/ttyACM0
-7
View File
@@ -3,13 +3,6 @@
# PX4 FMUv4 specific board extras init
#------------------------------------------------------------------------------
# Pixracer: start MAVLink on Wifi (ESP8266 port). Except for the TealOne airframe.
if ! param compare SYS_AUTOSTART 4250
then
mavlink start -r 20000 -b 921600 -d /dev/ttyS0
fi
# Run FrSky Telemetry on Pixracer on the FrSky port if not enabled already
if param compare TEL_FRSKY_CONFIG 0
then
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
#
# PX4 FMUv4 specific board MAVLink startup script.
#------------------------------------------------------------------------------
# Start MAVLink on the USB port
mavlink start -d /dev/ttyACM0
# Pixracer: start MAVLink on Wifi (ESP8266 port). Except for the TealOne airframe.
if ! param compare SYS_AUTOSTART 4250
then
mavlink start -r 20000 -b 921600 -d /dev/ttyS0
fi
@@ -0,0 +1,7 @@
#!/bin/sh
#
# PX4 FMUv4pro specific board MAVLink startup script.
#------------------------------------------------------------------------------
# Start MAVLink on the USB port
mavlink start -d /dev/ttyACM0
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
#
# PX4 FMUv5 specific board MAVLink startup script.
#------------------------------------------------------------------------------
# Start MAVLink on the USB port
mavlink start -d /dev/ttyACM0
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
#
# PX4 FMUv5X specific board MAVLink startup script.
#------------------------------------------------------------------------------
# Start MAVLink on the USB port
mavlink start -d /dev/ttyACM0
+7
View File
@@ -0,0 +1,7 @@
#!/bin/sh
#
# UVify UVF4 specific board MAVLink startup script.
#------------------------------------------------------------------------------
# Start MAVLink on the USB port
mavlink start -d /dev/ttyACM0