mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-20 11:49:07 +08:00
rc.sensors : start external compass on v4Pro and v5 with temperature compensation and self-calibration at startup
This commit is contained in:
parent
dde605fc4a
commit
f97822155a
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user