Go to Post Don'tcha love technology? :p - Cory [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

 
Reply
Thread Tools Rate Thread Display Modes
  #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
  #2   Spotlight this post!  
Unread 14-01-2016, 09:24
fsilberberg fsilberberg is offline
WPILib Developer
AKA: Fred Silberberg
FRC #0190
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Redmond
Posts: 148
fsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura about
You need to update the image on your RoboRIO. That's the reason why the build was failing: your RoboRIO is out of date. See the ScreenSteps here https://wpilib.screenstepslive.com/s...g-your-roborio.
Reply With Quote
  #3   Spotlight this post!  
Unread 14-01-2016, 10:18
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
Re: [Question] Library on roboRIO appears to be missing

Quote:
Originally Posted by fsilberberg View Post
You need to update the image on your RoboRIO. That's the reason why the build was failing: your RoboRIO is out of date. See the ScreenSteps here https://wpilib.screenstepslive.com/s...g-your-roborio.
I already followed those steps. Is 3.0.0f0 not the latest version?
Reply With Quote
  #4   Spotlight this post!  
Unread 14-01-2016, 10:30
ghead ghead is offline
Registered User
FRC #3103
 
Join Date: Aug 2013
Location: US
Posts: 14
ghead is an unknown quantity at this point
Re: [Question] Library on roboRIO appears to be missing

Image != Firmware. Latest image is 2016v19. Follow the link given earlier and make sure you update to the latest.
Reply With Quote
  #5   Spotlight this post!  
Unread 14-01-2016, 15:46
matthewdenny's Avatar
matthewdenny matthewdenny is offline
Registered User
FRC #6054 (Dukes)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: United States
Posts: 311
matthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant future
Re: [Question] Library on roboRIO appears to be missing

We are having the same issue. We have Image v23, but it says we need v19 to run. We can't locate a link for this file. Any help would be great! Thanks!
Reply With Quote
  #6   Spotlight this post!  
Unread 14-01-2016, 16:59
fsilberberg fsilberberg is offline
WPILib Developer
AKA: Fred Silberberg
FRC #0190
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Redmond
Posts: 148
fsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura aboutfsilberberg has a spectacular aura about
Re: [Question] Library on roboRIO appears to be missing

The link I gave in my last post in this thread is the relevant ScreenSteps article.
Reply With Quote
  #7   Spotlight this post!  
Unread 21-01-2016, 20:10
patlam patlam is offline
Registered User
FRC #3374
 
Join Date: Jan 2015
Location: Wyoming
Posts: 1
patlam is an unknown quantity at this point
Re: [Question] Library on roboRIO appears to be missing

So we're having the same problem and seem to be missing the FRC Image 2016v19 image. We have installed the update suite and everything however we still cannot find the file... Is there any link to download the image?
Reply With Quote
  #8   Spotlight this post!  
Unread 21-01-2016, 22:21
mhamzaqayyum mhamzaqayyum is offline
Registered User
FRC #6008
 
Join Date: Jan 2016
Location: Canada
Posts: 3
mhamzaqayyum is an unknown quantity at this point
Re: [Question] Library on roboRIO appears to be missing

Yep, same exact problem here, we have v23, but need v19. Cannot find it...
Reply With Quote
  #9   Spotlight this post!  
Unread 21-01-2016, 22:26
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 990
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: [Question] Library on roboRIO appears to be missing

The short version?
Install the Update Suite from the instructions here: http://wpilib.screenstepslive.com/s/...-all-languages

Image using the instructions here: http://wpilib.screenstepslive.com/s/...g-your-roborio


The right version? Read through each of these in order (you may be able to just skim some of them) to make sure you're not missing things: http://wpilib.screenstepslive.com/s/4485/m/13503
Reply With Quote
Reply


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 12:56.

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