mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-23 22:58:10 +08:00
AV-X mavlink network and companion defaults
- start mavlink on network by default (port 14570) - start mavlink for TX2 companion by default
This commit is contained in:
@@ -17,6 +17,14 @@ then
|
||||
mavlink start -r 20000 -b 921600 -d /dev/ttyS0
|
||||
fi
|
||||
|
||||
if ver hwcmp AV_X_V1
|
||||
then
|
||||
# AV-X: start MAVLink to companion (connected to TX2)
|
||||
mavlink start -d /dev/ttyS5 -r 80000 -b 921600 -m onboard
|
||||
|
||||
# AV-X: start MAVLink UDP port 14570
|
||||
mavlink start -x -u 14570
|
||||
fi
|
||||
|
||||
#
|
||||
# SYS_COMPANION transition support. Can be removed after the next release (currently at 1.8.0)
|
||||
|
||||
Reference in New Issue
Block a user