How to implement the VL53L3CX on a Raspberry PI3
My goal is to implement the VL53L3CX TOF sensor on a Quanser Qdrone as a sensor for height control.
As an inbetween I am trying to get the VL53L3CX working with my Raspberry PI3 first to better understand how the sensor and API work. So far I have not been able to find any premade PI3 libraries for communicating with the VL53L3CX. I believe this means that I have to use either the en.VL53L3CX_LinuxDriver_v1.0.5 or the EN.EN.bare_driver_VL53L3CX_v1.2.4.
I have the sensor wired to the raspberry pi and using i2cdetect -y 1 I can see the sensor at address 0x29. From what I have read on other threads, the sensor does not send a stream of distance but instead sends a histogram of distance that needs to be decoded by the API/driver. This means that I will have to implement one of the drivers, right?
What is the difference between the two drivers? Is there an advantage to one over the other or are they roughly equivalent?
I am very new to Linux and am not sure how to install the drivers. Could you help me or provide me with documentation on how to install and use either of the drivers?
Thanks,
Anthony
