Go to Post if you do make a marshmallow robot, that would be pretty sweet. - smurfgirl [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 16-01-2016, 11:49
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
 


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 01:45.

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