mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 11:06:04 +08:00
Remove unused sensors
This commit is contained in:
@@ -16,10 +16,6 @@ if hmc5883 -C -T -X start
|
|||||||
then
|
then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if lis3mdl -R 2 start
|
|
||||||
then
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Internal SPI bus is rotated 90 deg yaw
|
# Internal SPI bus is rotated 90 deg yaw
|
||||||
if hmc5883 -C -T -S -R 2 start
|
if hmc5883 -C -T -S -R 2 start
|
||||||
then
|
then
|
||||||
@@ -30,19 +26,10 @@ if mpu6000 -I -T 6000 start
|
|||||||
then
|
then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Internal SPI bus mpu9250 is rotated 90 deg yaw
|
|
||||||
if mpu9250 -R 2 start
|
|
||||||
then
|
|
||||||
fi
|
|
||||||
|
|
||||||
if meas_airspeed start
|
if meas_airspeed start
|
||||||
then
|
then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if sf1xx start
|
|
||||||
then
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Wait 20 ms for sensors (because we need to wait for the HRT and work queue callbacks to fire)
|
# Wait 20 ms for sensors (because we need to wait for the HRT and work queue callbacks to fire)
|
||||||
usleep 20000
|
usleep 20000
|
||||||
if sensors start
|
if sensors start
|
||||||
|
|||||||
Reference in New Issue
Block a user