|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
My laptop can't upload code to robot.
Hello, I am having some difficulties connecting my laptop to the robot to upload code. Here is some information:
Is there something that I am missing? Thanks in advance for your help. |
|
#2
|
|||
|
|||
|
Re: My laptop can't upload code to robot.
You've probably tried this already, but whenever I get that error, I usually power cycle the robot, which usually resolves the issue.
|
|
#3
|
||||
|
||||
|
Re: My laptop can't upload code to robot.
What is the error you get when deploying?
|
|
#4
|
|||
|
|||
|
Re: My laptop can't upload code to robot.
The roboRio is connected, the team number is set, and power cycling does not help, and when I try to upload and fail, other people are able to upload immediately after I fail
Code:
Buildfile: C:\Users\***\git\BlueTwilightRobot2015\build.xml
Trying to override old definition of task classloader
clean:
[delete] Deleting directory C:\Users\***\git\BlueTwilightRobot2015\build
[delete] Deleting directory C:\Users\***\git\BlueTwilightRobot2015\dist
compile:
[mkdir] Created dir: C:\Users\***\git\BlueTwilightRobot2015\build
[echo] [athena-compile] Compiling src with classpath=C:\Users\***/wpilib/java/current/lib/WPILib.jar:C:\Users\***/wpilib/java/current/lib/NetworkTables.jar to build
[javac] Compiling 33 source files to C:\Users\***\git\BlueTwilightRobot2015\build
jar:
[echo] [athena-jar] Making jar dist/FRCUserProgram.jar.
[mkdir] Created dir: C:\Users\***\git\BlueTwilightRobot2015\dist
[mkdir] Created dir: C:\Users\***\git\BlueTwilightRobot2015\build\jars
[echo] [athena-jar] Copying jars from C:\Users\***/wpilib/java/current/lib/WPILib.jar:C:\Users\***/wpilib/java/current/lib/NetworkTables.jar to build/jars.
[copy] Copying 2 files to C:\Users\***\git\BlueTwilightRobot2015\build\jars
[jar] Building jar: C:\Users\***\git\BlueTwilightRobot2015\dist\FRCUserProgram.jar
get-target-ip:
[echo] Trying Target: roboRIO-2200.local
Unknown host: roboRIO-2200.local
[echo] roboRIO not found via mDNS, falling back to static USB
[echo] roboRIO not found via USB, falling back to static address of 10.22.0.2
BUILD FAILED
C:\Users\***\wpilib\java\current\ant\build.xml:45: Assertion failed boolean test.
roboRIO not found, please check that the roboRIO is connected, imaged and that the team number is set properly in Eclipse
Total time: 15 seconds
|
|
#5
|
||||
|
||||
|
Re: My laptop can't upload code to robot.
Try resetting the team number in eclipse. It seems to think you are team 2200, not 2220.
Thats why the last few lines say roboRIO-2200.local and 10.22.0.2. It should be roboRIO-2220.local and 10.22.20.2. |
|
#6
|
|||
|
|||
|
Re: My laptop can't upload code to robot.
Hi, when I go to my team number in preferences, it is 2220, but when I click restore defaults, it changes my number to 2200. I think that this is because when I first typed in my team number, I made a typo, and typed 2200 instead of 2220.
I tried changing my team number multiple times, and it always gives me an ArrayOutOfBoundsException, and it sometimes gives me an Unhandled event loop exception as well. Is there a way I can change my default team to 2220? |
|
#7
|
||||
|
||||
|
Re: My laptop can't upload code to robot.
From: http://wpilib.screenstepslive.com/s/...to-the-roborio
Verify ... your team number is set properly in Eclipse (Window->Preferences->WPILib Preferences). I do not know any further than that. The best I can suggest is wipe and re-install the FRC update suite. |
|
#8
|
|||
|
|||
|
Re: My laptop can't upload code to robot.
Are you uploading wired by USB, ethernet, or wirelessly?
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|