Go to Post You can't expect a situation to get better if you don't make an attempt to confront it. - AndyB [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-01-2016, 19:09
Bernstern Bernstern is offline
Registered User
FRC #2141 (Spartonics)
Team Role: Programmer
 
Join Date: Nov 2015
Rookie Year: 2015
Location: Clayton
Posts: 30
Bernstern is an unknown quantity at this point
Red Robot Code Indicator

So, my team bough a second roboRio this year so that we can have a separate board for programmers, and we have been having a lot of issues with it. When we power cycle the rio and deploy code, there is an exit status 1 error below:

Buildfile: C:\Users\robotics\git\Robot2015Recycle\Robot2016\T ank Drive\build.xml
Trying to override old definition of task classloader
clean:
[delete] Deleting directory C:\Users\robotics\git\Robot2015Recycle\Robot2016\T ank Drive\build
[delete] Deleting directory C:\Users\robotics\git\Robot2015Recycle\Robot2016\T ank Drive\dist
compile:
[mkdir] Created dir: C:\Users\robotics\git\Robot2015Recycle\Robot2016\T ank Drive\build
[echo] [athena-compile] Compiling src with classpath=C:\Users\robotics/wpilib/java/current/lib/WPILib.jar:C:\Users\robotics/wpilib/java/current/lib/NetworkTables.jar: to build
[javac] Compiling 1 source file to C:\Users\robotics\git\Robot2015Recycle\Robot2016\T ank Drive\build
jar:
[echo] [athena-jar] Making jar dist/FRCUserProgram.jar.
[mkdir] Created dir: C:\Users\robotics\git\Robot2015Recycle\Robot2016\T ank Drive\dist
[mkdir] Created dir: C:\Users\robotics\git\Robot2015Recycle\Robot2016\T ank Drive\build\jars
[echo] [athena-jar] Copying jars from C:\Users\robotics/wpilib/java/current/lib/WPILib.jar:C:\Users\robotics/wpilib/java/current/lib/NetworkTables.jar: to build/jars.
[copy] Copying 2 files to C:\Users\robotics\git\Robot2015Recycle\Robot2016\T ank Drive\build\jars
[jar] Building jar: C:\Users\robotics\git\Robot2015Recycle\Robot2016\T ank Drive\dist\FRCUserProgram.jar
get-target-ip:
[echo] Trying Target: roboRIO-2141-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...ller-java-only
[sshexec] Connecting to roboRIO-2141-FRC.local:22
[sshexec] cmd : test -d /usr/local/frc/JRE
deploy:
[echo] [athena-deploy] Copying code over.
[scp] Connecting to roboRIO-2141-FRC.local:22
[scp] done.
[sshexec] Connecting to roboRIO-2141-FRC.local:22
[sshexec] cmd : killall -q netconsole-host || :
[scp] Connecting to roboRIO-2141-FRC.local:22
[scp] done.
[echo] [athena-deploy] Starting program.
[sshexec] Connecting to roboRIO-2141-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-2141-FRC.local:22
[sshexec] cmd : sync
BUILD SUCCESSFUL
Total time: 10 seconds

We assume that this just means there isn't any code running on the rio, since it just power cycled, because when we deploy code a second time, there is no error.

However, the main issue we have is that on the driver station, the Robot Code indicator is red, even when there is communication. At no point have we seen it turn green, even when we deploy sample projects. We have reimaged and reupdated the firmware for the rio multiple times. The plugins are up to date. Any help would be appreciated.
  #2   Spotlight this post!  
Unread 18-01-2016, 19:18
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: Red Robot Code Indicator

is there any NetConsole/RioLog or ds log feedback?
__________________
FRC Team 1684 - Head Programmer (2013-2016)
FRC Team 5460 - Programming Mentor (2015-2016)

FIRST in Michigan - Technical Crew (2015-continuing)
  #3   Spotlight this post!  
Unread 18-01-2016, 19:29
Bernstern Bernstern is offline
Registered User
FRC #2141 (Spartonics)
Team Role: Programmer
 
Join Date: Nov 2015
Rookie Year: 2015
Location: Clayton
Posts: 30
Bernstern is an unknown quantity at this point
Re: Red Robot Code Indicator

The Riolog has this message continuously repeating:

➔ Launching «'/usr/local/frc/JRE/bin/java' '-jar' '/home/lvuser/FRCUserProgram.jar'»
execvp: No such file or directory

We tried downloading the JRE to the rio, and we got this message:

java.io.IOException: Error when setting permissions on executables 1
Closed Thread


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:05.

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