mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 05:43:34 +08:00
ROMFS split rc.board into defaults, sensors, and extras
This commit is contained in:
committed by
Kabir Mohammed
parent
d8ab059ff3
commit
fef65bf5c8
+3
-17
@@ -1,9 +1,8 @@
|
||||
#!nsh
|
||||
#
|
||||
# intel aero specific board init
|
||||
#!/bin/sh
|
||||
#
|
||||
# intel aero specific board defaults
|
||||
#------------------------------------------------------------------------------
|
||||
#
|
||||
|
||||
|
||||
if param compare SYS_AUTOSTART 0
|
||||
then
|
||||
@@ -26,22 +25,9 @@ then
|
||||
param set ATT_W_GYRO_BIAS 0.0000
|
||||
|
||||
param set SYS_HAS_MAG 0
|
||||
param set SYS_FMU_TASK 1
|
||||
fi
|
||||
|
||||
|
||||
set DATAMAN_OPT -i
|
||||
set LOGGER_ARGS "-m mavlink"
|
||||
set MIXER_AUX none
|
||||
|
||||
|
||||
ms5611 -T 0 start
|
||||
mpu9250 -s -R 14 start
|
||||
|
||||
# Possible external compasses
|
||||
hmc5883 -X start
|
||||
|
||||
ist8310 -C -b 1 -R 4 start
|
||||
aerofc_adc start
|
||||
|
||||
ll40ls start i2c
|
||||
@@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# intel aero specific board sensors init
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
|
||||
ms5611 -T 0 start
|
||||
mpu9250 -s -R 14 start
|
||||
|
||||
# Possible external compasses
|
||||
hmc5883 -X start
|
||||
|
||||
ist8310 -C -b 1 -R 4 start
|
||||
aerofc_adc start
|
||||
|
||||
ll40ls start i2c
|
||||
Reference in New Issue
Block a user