2m Distance Sensor depends on libDistanceSensorDriver.so, which is the compiled VL53L0X vendor driver. This is copied over to the roboRIO when a LabVIEW project is run, but any function calls made to this library will fail due to it not being found if a user has only used LabVIEW for the 2m Distance Sensor.
If a project is created in C++/Java using the 2m Distance Sensor, the gradle deploy process copies this shared library over, gives it the proper permissions and runs ldconfig to link the library. After doing this, any LabVIEW project can use the shared library.
This is currently noted as a workaround for installing LabVIEW, but should be fixed so users do not have to load a C++/Java project to their roboRIO before running LabVIEW.
2m Distance Sensor depends on
libDistanceSensorDriver.so
, which is the compiled VL53L0X vendor driver. This is copied over to the roboRIO when a LabVIEW project is run, but any function calls made to this library will fail due to it not being found if a user has only used LabVIEW for the 2m Distance Sensor.If a project is created in C++/Java using the 2m Distance Sensor, the gradle deploy process copies this shared library over, gives it the proper permissions and runs
ldconfig
to link the library. After doing this, any LabVIEW project can use the shared library.This is currently noted as a workaround for installing LabVIEW, but should be fixed so users do not have to load a C++/Java project to their roboRIO before running LabVIEW.