Go to Post GP makes us all on one and the same team. They understand that in order for any of us to succeed, we need to help out where we can. It is why you will see so many other teams helping a team with a failing robot, buggy software, team strategy, etc. - Al Skierkiewicz [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 01-16-2016, 11:49 AM
mark219 mark219 is offline
Programmer/Driver
AKA: Mark Szewczuk
FRC #0219 (Team Impact)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2015
Location: United States
Posts: 12
mark219 is an unknown quantity at this point
No RobotCode

The programming team and I are currently working with a small test robot we built in the preseason. So far, we have been able to make the robot and make a simple drive system so it can drive based off of user input from a controller. Recently, we re-imaged and re-installed a new JRE onto the roborio that our test robot has to the new 2016 image/jre. Previously, our code would work, now it doesn't and we don't now why?
Here is the console log on eclipse
Code:
Buildfile: C:\Users\RM316CSHP2\Desktop\Robotics\Run-Motor\build.xml
Trying to override old definition of task classloader
clean:
   [delete] Deleting directory C:\Users\RM316CSHP2\Desktop\Robotics\Run-Motor\build
   [delete] Deleting directory C:\Users\RM316CSHP2\Desktop\Robotics\Run-Motor\dist
compile:
    [mkdir] Created dir: C:\Users\RM316CSHP2\Desktop\Robotics\Run-Motor\build
     [echo] [athena-compile] Compiling src with classpath=C:\Users\RM316CSHP2/wpilib/java/current/lib/WPILib.jar:C:\Users\RM316CSHP2/wpilib/java/current/lib/NetworkTables.jar: to build
    [javac] Compiling 6 source files to C:\Users\RM316CSHP2\Desktop\Robotics\Run-Motor\build
jar:
     [echo] [athena-jar] Making jar dist/FRCUserProgram.jar.
    [mkdir] Created dir: C:\Users\RM316CSHP2\Desktop\Robotics\Run-Motor\dist
    [mkdir] Created dir: C:\Users\RM316CSHP2\Desktop\Robotics\Run-Motor\build\jars
     [echo] [athena-jar] Copying jars from C:\Users\RM316CSHP2/wpilib/java/current/lib/WPILib.jar:C:\Users\RM316CSHP2/wpilib/java/current/lib/NetworkTables.jar: to build/jars.
     [copy] Copying 2 files to C:\Users\RM316CSHP2\Desktop\Robotics\Run-Motor\build\jars
      [jar] Building jar: C:\Users\RM316CSHP2\Desktop\Robotics\Run-Motor\dist\FRCUserProgram.jar
get-target-ip:
     [echo] Trying Target: roboRIO-219-FRC.local
     [echo] roboRIO found via mDNS
dependencies:
     [echo] roboRIO image version validated
     [echo] Checking for JRE. If this fails install the JRE using these instructions: https://wpilib.screenstepslive.com/s/4485/m/13503/l/288822-installing-java-8-on-the-roborio-using-the-frc-roborio-java-installer-java-only
  [sshexec] Connecting to roboRIO-219-FRC.local:22
  [sshexec] cmd : test -d /usr/local/frc/JRE
deploy:
     [echo] [athena-deploy] Copying code over.
      [scp] Connecting to roboRIO-219-FRC.local:22
      [scp] done.
  [sshexec] Connecting to roboRIO-219-FRC.local:22
  [sshexec] cmd : killall -q netconsole-host || :
      [scp] Connecting to roboRIO-219-FRC.local:22
      [scp] done.
     [echo] [athena-deploy] Starting program.
  [sshexec] Connecting to roboRIO-219-FRC.local:22
  [sshexec] cmd : . /etc/profile.d/natinst-path.sh; /usr/local/frc/bin/frcKillRobot.sh -t -r;
  [sshexec] killall: lvrt: no process killed
  [sshexec] Remote command failed with exit status 1
  [sshexec] Connecting to roboRIO-219-FRC.local:22
  [sshexec] cmd : sync
BUILD SUCCESSFUL
Total time: 14 seconds
and here is the RioLog output (there's a load of these messages oncoming every 2 seconds or so)
Code:
➔ Launching «'/usr/local/frc/JRE/bin/java' '-jar' '/home/lvuser/FRCUserProgram.jar'»
execvp: No such file or directory
What I think is that this means that there is no JRE on the rio, however we did successfully install it (or so the person who did it said so)
Reply With Quote
  #2   Spotlight this post!  
Unread 01-17-2016, 02:23 PM
robobot14 robobot14 is offline
Registered User
no team
 
Join Date: Mar 2015
Location: Ontario
Posts: 1
robobot14 is an unknown quantity at this point
Re: No RobotCode

We have actually just finished debugging this problem. We solved the problem by re-downloading the JRE and make sure that it is the ARMv7 Linux - VFP, SoftFP ABI, Little Endian version (the second one on the list that pops up). Hope this helps.
Reply With Quote
  #3   Spotlight this post!  
Unread 01-17-2016, 06:32 PM
Lireal Lireal is offline
Registered User
AKA: Alex Colello
FRC #2141 (Spartonics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: Concord, California
Posts: 102
Lireal has a spectacular aura aboutLireal has a spectacular aura aboutLireal has a spectacular aura about
Re: No RobotCode

Quote:
Originally Posted by robobot14 View Post
We have actually just finished debugging this problem. We solved the problem by re-downloading the JRE and make sure that it is the ARMv7 Linux - VFP, SoftFP ABI, Little Endian version (the second one on the list that pops up). Hope this helps.
Can you link the list you are talking about?
Reply With Quote
  #4   Spotlight this post!  
Unread 01-17-2016, 08:41 PM
timtim17's Avatar
timtim17 timtim17 is offline
Programmer
AKA: Austin
FRC #1294 (Top Gun Robotics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Sammamish, WA
Posts: 13
timtim17 has a spectacular aura abouttimtim17 has a spectacular aura abouttimtim17 has a spectacular aura about
Re: No RobotCode


Image from Screensteps.
Reply With Quote
  #5   Spotlight this post!  
Unread 01-17-2016, 09:01 PM
Justin Buist Justin Buist is offline
Registered User
FRC #4003 (TriSonics)
Team Role: Mentor
 
Join Date: Feb 2015
Rookie Year: 2015
Location: Allendale, MI
Posts: 18
Justin Buist is an unknown quantity at this point
Re: No RobotCode

That stepped hosed us up a bit too the other day. The "browser" in the provided wizard wouldn't play nicely with creating a new account and then letting us download it. It just didn't work. Also, going directly to Oracle's website we couldn't find the link to "ARMv7 Linux - VFP, SoftFP ABI, Little Endian version" so we used the installer wizard (the one shown in the screenshot) to get to the right page, right clicked the link, copied the URL, then opened up Chrome and used that to login to Oracle and then just pasted the URL into the address bar. Viola! We had our proper JRE... then used the wizard to install it by backing up to the start of it all and pointing it to a local file.
Reply With Quote
  #6   Spotlight this post!  
Unread 01-18-2016, 11:29 AM
mark219 mark219 is offline
Programmer/Driver
AKA: Mark Szewczuk
FRC #0219 (Team Impact)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2015
Location: United States
Posts: 12
mark219 is an unknown quantity at this point
Re: No RobotCode

Thanks all, it turns out we put the wrong JRE onto our roborio. Got the right one and it worked fine!
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 02:43 AM.

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