mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-25 08:36:08 +08:00
Autostart: Do not abort boot if sensor driver fails to start
This commit is contained in:
@@ -706,26 +706,34 @@ then
|
||||
if param compare SENS_EN_SF0X 0
|
||||
then
|
||||
else
|
||||
sf0x start
|
||||
if sf0x start
|
||||
then
|
||||
fi
|
||||
fi
|
||||
|
||||
# lightware i2c lidar sensor
|
||||
if param compare SENS_EN_SF1XX 0
|
||||
then
|
||||
else
|
||||
sf1xx start
|
||||
if sf1xx start
|
||||
then
|
||||
fi
|
||||
fi
|
||||
|
||||
# mb12xx sonar sensor
|
||||
if param compare SENS_EN_MB12XX 1
|
||||
then
|
||||
mb12xx start
|
||||
if mb12xx start
|
||||
then
|
||||
fi
|
||||
fi
|
||||
|
||||
# teraranger one tof sensor
|
||||
if param compare SENS_EN_TRONE 1
|
||||
then
|
||||
trone start
|
||||
if trone start
|
||||
then
|
||||
fi
|
||||
fi
|
||||
|
||||
if ver hwcmp PX4FMU_V4
|
||||
|
||||
Reference in New Issue
Block a user