I am trying to connect the 2m Distance sensor via I2C. Rev just released an updated maven/vendordeps file https://github.com/REVrobotics/2m-Distance-Sensor/releases 1 that is supposed to fix the Port to 2020 issue and I downloaded those files and put them in the appropriate locations. However, I’m still getting the same error. The code builds fine, but the Driver Station won’t run it.
ERROR 1 Unhandled exception: java.lang.UnsatisfiedLinkError: ‘void com.revrobotics.jni.VL53L0XJNI.Init(int, int)’ com.revrobotics.jni.VL53L0XJNI.Init(Native Method)
Warning at edu.wpi.first.wpilibj.RobotBase.runRobot(RobotBase.java:291): Robots should not quit, but yours did!
ERROR 1 The startCompetition() method (or methods called by it) should have handled the exception above. edu.wpi.first.wpilibj.RobotBase.runRobot(RobotBase.java:293)
Warning at edu.wpi.first.wpilibj.IterativeRobotBase.printLoopOverrunMessage(IterativeRobotBase.java:276): Loop time of 0.02s overrun
ERROR 1 Unhandled exception: java.lang.UnsatisfiedLinkError: ‘void com.revrobotics.jni.VL53L0XJNI.Init(int, int)’ com.revrobotics.jni.VL53L0XJNI.Init(Native Method)