|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
No Robot Code on the RoboRIO
We are still using the 2015 Control System and all the code from last year. We haven't updated WPILib. When I load the code to the robot, this is the log:
Code:
Trying to override old definition of task classloader
clean:
[delete] Deleting directory /Users/Nashoba/Programming/2016-Pre-Season-Drivetrain/build
[delete] Deleting directory /Users/Nashoba/Programming/2016-Pre-Season-Drivetrain/dist
compile:
[mkdir] Created dir: /Users/Nashoba/Programming/2016-Pre-Season-Drivetrain/build
[echo] [athena-compile] Compiling src with classpath=/Users/Nashoba/wpilib/java/current/lib/WPILib.jar:/Users/Nashoba/wpilib/java/current/lib/NetworkTables.jar to build
[javac] Compiling 22 source files to /Users/Nashoba/Programming/2016-Pre-Season-Drivetrain/build
jar:
[echo] [athena-jar] Making jar dist/FRCUserProgram.jar.
[mkdir] Created dir: /Users/Nashoba/Programming/2016-Pre-Season-Drivetrain/dist
[mkdir] Created dir: /Users/Nashoba/Programming/2016-Pre-Season-Drivetrain/build/jars
[echo] [athena-jar] Copying jars from /Users/Nashoba/wpilib/java/current/lib/WPILib.jar:/Users/Nashoba/wpilib/java/current/lib/NetworkTables.jar to build/jars.
[copy] Copying 2 files to /Users/Nashoba/Programming/2016-Pre-Season-Drivetrain/build/jars
[jar] Building jar: /Users/Nashob/Programming/2016-Pre-Season-Drivetrain/dist/FRCUserProgram.jar
get-target-ip:
[echo] Trying Target: roboRIO-1768.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-1768.local:22
[sshexec] cmd : test -d /usr/local/frc/JRE
deploy:
[echo] [athena-deploy] Copying code over.
[scp] Connecting to roboRIO-1768.local:22
[scp] done.
[sshexec] Connecting to roboRIO-1768.local:22
[sshexec] cmd : killall netconsole-host
[scp] Connecting to roboRIO-1768.local:22
[scp] done.
[scp] Connecting to roboRIO-1768.local:22
[scp] done.
[echo] [athena-deploy] Starting program.
[sshexec] Connecting to roboRIO-1768.local:22
[sshexec] cmd : . /etc/profile.d/natinst-path.sh; /usr/local/frc/bin/frcKillRobot.sh -t -r;
[sshexec] start-stop-daemon: warning: killing process 1761: No such process
BUILD SUCCESSFUL
Total time: 11 seconds
|
|
#2
|
||||
|
||||
|
Re: No Robot Code on the RoboRIO
Looks like your code is erroring out. Can you post a riolog dump as well? and the driver station error log if there is any content there.
|
|
#3
|
||||
|
||||
|
Re: No Robot Code on the RoboRIO
There is no driver station error log. How do I find the roborio log?
|
|
#4
|
|||
|
|||
|
Re: No Robot Code on the RoboRIO
Instructions for opening Riolog are available on ScreenSteps here: http://wpilib.screenstepslive.com/s/...console-output. Instructions are about halfway down the page.
|
|
#5
|
||||
|
||||
|
Re: No Robot Code on the RoboRIO
The only thing that the Riolog says is
Code:
➔ Launching «'/usr/local/frc/JRE/bin/java' '-jar' '/home/lvuser/FRCUserProgram.jar'» |
|
#6
|
||||
|
||||
|
Re: No Robot Code on the RoboRIO
Okay, by commenting out code, I've narrowed it down to
Code:
for(; i*maxAcc < maxSpeed; i += 0.01) {}
This happens because maxAcc = 0, since I hadn't found the value yet... Oops. Thanks for the help at narrowing it down to being a code issue. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|