mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-25 00:30:50 +08:00
rc.sensors: start tfmini with appropriate device path for FMUv3
This commit is contained in:
1 parent
d6f137e10d
commit
f294445cd0
1 file changed
+6
-2
@@ -194,7 +194,7 @@ then
|
||||
# lis3mdl internal SPI bus is rotated 90 deg yaw
|
||||
else
|
||||
# BMI055 gyro internal SPI bus
|
||||
bmi055 -G start
|
||||
bmi055 -G start
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -396,7 +396,11 @@ fi
|
||||
# Benewake TFMini
|
||||
if param greater SENS_EN_TFMINI 0
|
||||
then
|
||||
tfmini start
|
||||
if ver hwcmp PX4FMU_V3
|
||||
then
|
||||
# start the driver on serial 4/5
|
||||
tfmini start -d /dev/ttyS6
|
||||
fi
|
||||
fi
|
||||
|
||||
# Wait 20 ms for sensors (because we need to wait for the HRT and work queue callbacks to fire)
|
||||
|
||||
Reference in new issue
Block a user