Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Red Robot Code Indicator (http://www.chiefdelphi.com/forums/showthread.php?t=142088)

Bernstern 18-01-2016 19:09

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.

Arhowk 18-01-2016 19:18

Re: Red Robot Code Indicator
 
is there any NetConsole/RioLog or ds log feedback?

Bernstern 18-01-2016 19:29

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


All times are GMT -5. The time now is 02:05.

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