View Single Post
  #16   Spotlight this post!  
Unread 17-01-2015, 10:42
TheMechanic40 TheMechanic40 is offline
Registered User
FRC #3506 (YETI Robotics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2013
Location: North Carolina
Posts: 31
TheMechanic40 is an unknown quantity at this point
Re: Eclipse won't connect to roboRIO

Quote:
Originally Posted by msonnier View Post
I think your problem is mDNS is failing. See thread http://www.chiefdelphi.com/forums/sh...d.php?t=132597 where this is discussed at some length.

The root cause appears to be your PC and the RoboRIO deciding they want to use IPv6 instead of IPv4 -- the mDNS lookup is returning a v6 address instead of v4. This unfortunately doesn't work for the Eclipse ANT script I think or for the DS.

The solution we found was to disable IPv6 on the Laptop/PC (or Mac presumably) for that interface. Couldn't figure out how to disable it on the DLink. Presumably you could kill it on the RoboRIO in Linux config but I don't know offhand how to do that.

Regards
Mike
I have disabled my Ipv6 and now when I ping the roborio at roborio-3506.local I get a reply with an IPv4 address, but I still can't delpoy code and I still get the same build log:

Buildfile: C:\Users\Sam\Documents\Eclipse Workspace\Test Command Robot\build.xml
Trying to override old definition of task classloader
clean:
[delete] Deleting directory C:\Users\Sam\Documents\Eclipse Workspace\Test Command Robot\build
compile:
[mkdir] Created dir: C:\Users\Sam\Documents\Eclipse Workspace\Test Command Robot\build
[echo] [athena-compile] Compiling src with classpath=C:\Users\Sam/wpilib/java/current/lib/WPILib.jar:C:\Users\Sam/wpilib/java/current/lib/NetworkTables.jar to build
[javac] Compiling 13 source files to C:\Users\Sam\Documents\Eclipse Workspace\Test Command Robot\build
jar:
[echo] [athena-jar] Making jar dist/FRCUserProgram.jar.
[mkdir] Created dir: C:\Users\Sam\Documents\Eclipse Workspace\Test Command Robot\dist
[mkdir] Created dir: C:\Users\Sam\Documents\Eclipse Workspace\Test Command Robot\build\jars
[echo] [athena-jar] Copying jars from C:\Users\Sam/wpilib/java/current/lib/WPILib.jar:C:\Users\Sam/wpilib/java/current/lib/NetworkTables.jar to build/jars.
[copy] Copying 2 files to C:\Users\Sam\Documents\Eclipse Workspace\Test Command Robot\build\jars
[jar] Building jar: C:\Users\Sam\Documents\Eclipse Workspace\Test Command Robot\dist\FRCUserProgram.jar
get-target-ip:
[echo] Trying Target: roboRIO-3506.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.35.6.2

BUILD FAILED
C:\Users\Sam\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: 27 seconds

EDIT: When I ping the roborio at roborio-3506.local I get a reply of 10.35.6.2

Last edited by TheMechanic40 : 17-01-2015 at 10:53.