I’ve been having some issues with the new roboRIO. Firstly, the code kept failing to deploy to the robot. The ANT build failed with a message saying that the firmware version didn’t match. After I modified the file to print out both the version required and the version in use, I got that required was 19 and the one it got was “ImageRegExFail”. I believe this comes from an error in the following:
<propertyregex property="roboRIOImage" input="${roboRIOSysValues}" regexp="FRC_roboRIO_2016_v([0-9]+)" select="\1" defaultValue="ImageRegExFail"/>
My the sysProps.xml file in the project is here
So I commented out the version check and ran again. The deploy succeeded with no errors, but when I opened the driver station, there was no code. I connected to the roboRIO through SSH and ran the code manually:
lvuser@roboRIO-4373:~$ bash robotCommand
➔ Launching «'/usr/local/frc/JRE/bin/java' '-jar' '/home/lvuser/FRCUserProgram.jar'»
Exception in thread "main" java.lang.UnsatisfiedLinkError: /var/volatile/tmp/libwpilibJavaJNI948982247454152796.so: libnirio_emb_can.so.15: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1929)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1814)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1083)
at edu.wpi.first.wpilibj.hal.JNIWrapper.<clinit>(JNIWrapper.java:47)
at edu.wpi.first.wpilibj.RobotBase.initializeHardwareConfiguration(RobotBase.java:170)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.java:182)
lvuser@roboRIO-4373:~$
I tried updating the roboRIO again as well as uninstalling and reinstalling all the eclipse plugins but this had no effect. Has anyone else experienced this issue? I ran a few searches on CD and couldn’t find the error.