Go to Post Speculate away! - IndySam [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 14-01-2016, 09:03
4373Henry's Avatar
4373Henry 4373Henry is offline
Registered User
FRC #4373
 
Join Date: Jan 2015
Location: Pennsylvania
Posts: 5
4373Henry is an unknown quantity at this point
[Question] Library on roboRIO appears to be missing

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:

Code:
<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:
Code:
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.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:24.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi