mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 02:55:07 +08:00
ROMFS split rc.board into defaults, sensors, and extras
This commit is contained in:
committed by
Kabir Mohammed
parent
d8ab059ff3
commit
fef65bf5c8
@@ -1,31 +0,0 @@
|
||||
#!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
|
||||
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# av_x1-v1 specific board init
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
|
||||
if [ $AUTOCNF = yes ]
|
||||
then
|
||||
|
||||
fi
|
||||
|
||||
set LOGGER_BUF 64
|
||||
set MIXER_AUX none
|
||||
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# av_x1-v1 specific board init
|
||||
#
|
||||
#
|
||||
|
||||
# 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
|
||||
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# av_x1-v1 specific board sensors init
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
|
||||
adis16477 -R 8 start
|
||||
|
||||
#adis16497 start
|
||||
|
||||
lps22hb -S start
|
||||
|
||||
lsm303agr -R 4 start
|
||||
|
||||
ms4525_airspeed -T 4515 -b 3 start
|
||||
Reference in New Issue
Block a user