I am trying ArduCopter having mainly used Betaflight previously, and am trying to get a VL53L1X working on a Matek H743 Mini board using the latest firmware. I have connected a Matek M8Q-5883 to the I2C line via a breakout board and this works as both compass and GPS. I have also connected a VL53L1X to the I2C breakout, using the settings given in the rangefinder pages. Whether or not the compass is connected, the rangefinder works accurately up to between 20cm and 40cm, before stopping reading and losing connection. At that point I get a message saying Rangefinder 1: No data, which then disappears if I move the sensor closer to an object, where it starts reading again. I have tried the sensor on an Arduino without any problems up to in excess of 2.5m.
I realise that some data on my configuration is probably beneficial, but am unfamiliar with the software, so please advise if file-logs would be useful.
I have now tried with setting 28 and get exactly the same behaviour. For my own sanity I have now checked with iNav instead of Arducopter and it works fine.
Weβve had some not-so-great experiences with this sensor working with the Matek H743 slim, and in our case we werenβt able to get stable readings beyond 1m or so. A viable and more reliable sensor that we ended up using was the Benewake TFMini Plus, which works well to about 4m.
I have some VL53L1X lidars but i havent tested them with ardupilot yet, i wont be able to for about a week. If like you say its an issue with just ardupilot then we should bring it up with the devs to look into.
I would have assumed a faulty sensor, but it works fine with iNav and on an Arduino, so the sensor seems to work fine on other software. Having said that I changed to a Benewake TF-Luna, which worked fine straight away in Ardupilot.