mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
- cubepilot_cubeorange_test has the console enabled (used for test rack and bench debugging)
14 lines
344 B
Bash
14 lines
344 B
Bash
#!/bin/sh
|
|
#
|
|
# Board specific MAVLink startup script.
|
|
#------------------------------------------------------------------------------
|
|
|
|
# Start MAVLink on the USB port
|
|
mavlink start -d /dev/ttyACM0
|
|
|
|
# Start ADS-B receiver mavlink connection if console not present
|
|
if [ ! -e /dev/console ]
|
|
then
|
|
mavlink start -d /dev/ttyS4 -b 57600 -m minimal
|
|
fi
|