rc.sensors : start external compass on v4Pro and v5 with temperature compensation and self-calibration at startup

This commit is contained in:
Mohammed Kabir 2017-05-23 14:14:07 +02:00 committed by Lorenz Meier
parent dde605fc4a
commit f97822155a

View File

@ -343,6 +343,7 @@ fi
if ver hwcmp PX4FMU_V4PRO
then
# Internal SPI bus ICM-20608-G
if mpu6000 -R 2 -T 20608 start
then
@ -364,7 +365,7 @@ then
fi
# Possible external compasses
if hmc5883 -X start
if hmc5883 -C -T -X start
then
fi
@ -372,6 +373,7 @@ fi
if ver hwcmp PX4FMU_V5
then
# Internal SPI bus ICM-20602
if mpu6000 -R 8 -s -T 20602 start
then
@ -393,7 +395,7 @@ then
fi
# Possible external compasses
if hmc5883 -X start
if hmc5883 -C -T -X start
then
fi
@ -401,6 +403,7 @@ then
if meas_airspeed start -b 2
then
fi
fi
if ver hwcmp AEROCORE2