WIP:Startup for FMUV5

Incomplete changes to startup script for FMUv5.
   See "Place holder Need" in ROMFS/px4fmu_common/init.d/rc.sensors
This commit is contained in:
David Sidrane 2016-12-13 15:24:04 -10:00 committed by Lorenz Meier
parent 93996a6d6e
commit 120064b55d
2 changed files with 37 additions and 0 deletions

View File

@ -322,6 +322,32 @@ then
fi fi
fi fi
if ver hwcmp PX4FMU_V5
then
# Internal SPI bus ICM-20602
# Place holder Need 20602 Support added
if mpu6000 -R 2 -T 20608 start
then
fi
# Internal SPI bus ICM-20689
# Place holder Need 20689 Support added
if mpu6000 -R 2 -T 20608 start
then
fi
# Internal SPI bus BMI055
# Place holder Need BMI055 Support added
if bmi055 -R 2 start
then
fi
# Possible external compasses
if hmc5883 -X start
then
fi
fi
if meas_airspeed start if meas_airspeed start
then then
else else

View File

@ -196,6 +196,12 @@ then
set USE_IO no set USE_IO no
fi fi
if ver hwcmp PX4FMU_V5
then
set USE_IO no
set MAVLINK_COMPANION_DEVICE /dev/ttyS3
fi
if ver hwcmp MINDPX_V2 if ver hwcmp MINDPX_V2
then then
set USE_IO no set USE_IO no
@ -249,6 +255,11 @@ then
set MIXER_AUX none set MIXER_AUX none
fi fi
if ver hwcmp PX4FMU_V5
then
set MIXER_AUX none
fi
if ver hwcmp AEROFC_V1 if ver hwcmp AEROFC_V1
then then
set MIXER_AUX none set MIXER_AUX none