mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 14:13:33 +08:00
As ASC use a non-standard UART for mavlink it is necessary check for the board name and set SYS_AUTOSTART to initialize mavlink on the right interface otherwise there is no way to change the SYS_AUTOSTART.
14 lines
203 B
Plaintext
14 lines
203 B
Plaintext
#!nsh
|
|
#
|
|
# @name AEROFC V1 board
|
|
#
|
|
# @type Quadrotor x
|
|
|
|
sh /etc/init.d/rc.mc_defaults
|
|
|
|
tap_esc start -d /dev/ttyS0 -n 4
|
|
set OUTPUT_DEV /dev/tap_esc
|
|
set MIXER quad_x
|
|
|
|
set MAVLINK_F "-r 1200 -d /dev/ttyS2"
|