MS5525 differential pressure driver

This commit is contained in:
Daniel Agar
2017-05-22 10:06:29 -04:00
parent 66a890d428
commit 7029be87c0
23 changed files with 852 additions and 62 deletions

View File

@@ -8,7 +8,6 @@ then
if ms5611 start
then
fi
else
if ver hwcmp AEROFC_V1
then
@@ -142,11 +141,6 @@ then
if hmc5883 -C -T -S -R 8 start
then
fi
if meas_airspeed start -b 2
then
fi
else
# FMUv2
if mpu6000 start
@@ -333,7 +327,6 @@ fi
if ver hwcmp PX4FMU_V4PRO
then
# Internal SPI bus ICM-20608-G
if mpu6000 -R 2 -T 20608 start
then
@@ -358,7 +351,6 @@ then
if hmc5883 -C -T -X start
then
fi
fi
if ver hwcmp PX4FMU_V5
@@ -388,12 +380,6 @@ then
if hmc5883 -C -T -X start
then
fi
# Possible external airspeed sensor
if meas_airspeed start -b 2
then
fi
fi
if ver hwcmp AEROCORE2
@@ -404,13 +390,30 @@ fi
if sdp3x_airspeed start
then
else
if meas_airspeed start
then
else
ets_airspeed start
ets_airspeed start -b 1
fi
fi
if ms5525_airspeed start
then
fi
if ms5525_airspeed start -b 2
then
fi
if ms4525_airspeed start
then
fi
if ms4525_airspeed start -b 2
then
fi
if ets_airspeed start
then
fi
if ets_airspeed start -b 1
then
fi
# Wait 20 ms for sensors (because we need to wait for the HRT and work queue callbacks to fire)