We’ve made some updates to our roboRIO driver and our Time of Flight sensor firmware which dramatically improves measurement distance and accuracy. Measurements in Long mode preform well, even four meters away with reflective targets.
In addition to the ranging improvements, the PWF ToF sensor now supports 100Hz samples in Short ranging mode through the SetRangingMode() API.
Finally we’ve added a SetRangeOfInterest() API function to reduce the field of view from 27 degrees to 15 degrees. This is especially helpful when ranging targets more than 2 meters way and in cluttered areas.
The Latest software (version 2020.01.30) is available on our website. If you are using LabView, copy the libPlayingWithFusionDriver.so onto the roboRIO and reboot. For C++/Java team’s the library can be updated using the WPI Command Pallet in VS Code. Simply select ‘Manage Vendor Libraries’ then ‘Check for Updates (online)’.
ToF sensor firmware can be updated using the PWF device configuration webpage on the roboRIO. This is generally located at https:// 172.22.11.2:5812. (Replace the IP with the address of your robot if using ethernet or wireless). This page list all PwF devices on the RIO CAN bus and provides an ‘Update’ button to update each device’s firmware.