mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 17:51:37 +08:00
32 lines
433 B
Plaintext
32 lines
433 B
Plaintext
#!nsh
|
|
#
|
|
# av_x1-v1 specific board init
|
|
#
|
|
#
|
|
|
|
if [ $AUTOCNF = yes ]
|
|
then
|
|
param set SYS_FMU_TASK 1
|
|
fi
|
|
|
|
set LOGGER_BUF 64
|
|
set MIXER_AUX none
|
|
|
|
|
|
adis16477 -R 8 start
|
|
|
|
#adis16497 start
|
|
|
|
lps22hb -S start
|
|
|
|
lsm303agr -R 4 start
|
|
|
|
ms4525_airspeed -T 4515 -b 3 start
|
|
|
|
|
|
# AV-X: start MAVLink to companion (connected to TX2)
|
|
mavlink start -d /dev/ttyS5 -r 20000 -b 460800 -m onboard
|
|
|
|
# AV-X: start MAVLink UDP port 14570
|
|
mavlink start -x -u 14570
|