Go to Post Thank you GDC, for keeping everyone honest! - dtengineering [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 Rating: Thread Rating: 5 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 31-01-2015, 20:09
sau sau is offline
Registered User
FRC #2220 (Blue Twilight)
Team Role: Programmer
 
Join Date: Sep 2014
Rookie Year: 2012
Location: Eagan
Posts: 8
sau is an unknown quantity at this point
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:
  • My computer is a Asus Transformer Book T100 running Windows 8.1
  • Our team is using Eclipse to program in Java
  • Every other laptop on my team has been able to upload code, including other laptops running Windows 8.1
  • I have installed and reinstalled the NI Update Suite several times to get the MDNS software
  • Using the driver station software, I can connect to the roborio and enable, disable, look at joystick inputs, etc.
  • When I ping roborio-2220.local, I get back a result saying that I am connected
  • I don't have the exact error with me right now, but it says something along the lines of Assertion Failed Boolean Test, and that MDNS connection failed
  • My firewall has been turned off

Is there something that I am missing? Thanks in advance for your help.
  #2   Spotlight this post!  
Unread 31-01-2015, 21:26
JamieKilburn JamieKilburn is offline
Registered User
FRC #0610 (The Coyotes)
Team Role: Driver
 
Join Date: Nov 2014
Rookie Year: 2013
Location: Toronto, Ontario
Posts: 15
JamieKilburn has a spectacular aura aboutJamieKilburn has a spectacular aura about
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   Spotlight this post!  
Unread 31-01-2015, 21:26
thatprogrammer's Avatar
thatprogrammer thatprogrammer is offline
Registered User
AKA: Ahad Bawany
no team (None)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Florida
Posts: 609
thatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond repute
Re: My laptop can't upload code to robot.

What is the error you get when deploying?
  #4   Spotlight this post!  
Unread 31-01-2015, 21:31
sau sau is offline
Registered User
FRC #2220 (Blue Twilight)
Team Role: Programmer
 
Join Date: Sep 2014
Rookie Year: 2012
Location: Eagan
Posts: 8
sau is an unknown quantity at this point
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   Spotlight this post!  
Unread 31-01-2015, 21:35
Christopher149 Christopher149 is offline
Registered User
FRC #0857 (Superior Roboworks) FTC 10723 (SnowBots)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2007
Location: Houghton, MI
Posts: 1,098
Christopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond reputeChristopher149 has a reputation beyond repute
Re: My laptop can't upload code to robot.

Are you uploading wired by USB, ethernet, or wirelessly?
__________________
2015-present: FTC 10723 mentor
2012-present: 857 mentor
2008-2011: 857 student

2015: Industrial Design, Excellence in Engineering, District Finalist, Archimedes Division (#6 alliance captain)
2014: Judges Award, District Engineering Inspiration, District Finalist, Galileo Division

  #6   Spotlight this post!  
Unread 31-01-2015, 21:37
ATannahill ATannahill is offline
Registered User
AKA: Alex Tannahill
no team
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Southfield, Michigan
Posts: 3,244
ATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond repute
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.
  #7   Spotlight this post!  
Unread 31-01-2015, 22:02
sau sau is offline
Registered User
FRC #2220 (Blue Twilight)
Team Role: Programmer
 
Join Date: Sep 2014
Rookie Year: 2012
Location: Eagan
Posts: 8
sau is an unknown quantity at this point
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?
  #8   Spotlight this post!  
Unread 31-01-2015, 22:17
ATannahill ATannahill is offline
Registered User
AKA: Alex Tannahill
no team
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Southfield, Michigan
Posts: 3,244
ATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond repute
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.
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 10:02.

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