Setup sf0x driver to handle all lightware lidars. (#5957)

This commit is contained in:
James Goppert
2016-12-06 12:19:13 -05:00
committed by GitHub
parent 7b81374fda
commit fa834497bf
3 changed files with 75 additions and 18 deletions
+10 -2
View File
@@ -639,12 +639,20 @@ then
fi
fi
# sf0x lidar sensor
if param compare SENS_EN_SF0X 1
# lightware serial lidar sensor
if param compare SENS_EN_SF0X 0
then
else
sf0x start
fi
# lightware i2c lidar sensor
if param compare SENS_EN_SF1XX 0
then
else
sf1xx start
fi
# mb12xx sonar sensor
if param compare SENS_EN_MB12XX 1
then