Go to Post "If all else fails, use a bigger hammer" - Steve Florence - Logan Byers [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-01-2013, 17:30
ohhs4284 ohhs4284 is offline
Registered User
FRC #4284
 
Join Date: Jan 2013
Location: Cicinnati
Posts: 11
ohhs4284 is an unknown quantity at this point
Problem in eclipse deploying code.

We are having issues deploying our code in Eclipse. There is no issue when using the build function, but an error occurs when deploying the code. The error states
Quote:
C:\eclipse\plugins\edu.wpi.first.javadev.sunsportf rcsdk_1.0.7.1\sunsportfrcsdk\ant\upgrade.xml:40: java.net.socketexception: Network is timed out: connect
We have tried many troubleshooting techniques but to no avail. Any help would be greatly appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 24-01-2013, 23:35
Chiller Chiller is offline
Registered User
AKA: Connor Christie
FRC #4095 (RoXI Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 118
Chiller is on a distinguished road
Re: Problem in eclipse deploying code.

Quote:
Originally Posted by ohhs4284 View Post
We are having issues deploying our code in Eclipse. There is no issue when using the build function, but an error occurs when deploying the code. The error states

We have tried many troubleshooting techniques but to no avail. Any help would be greatly appreciated.
How are you programming in eclipse? Theres no updated plugin? are you sure its not netbeans? Did you set up your router and crio correctly? Did you set your comp ip? Did you configure the frc plugin for the correct ip? Did you disable all other network cards?
Reply With Quote
  #3   Spotlight this post!  
Unread 29-01-2013, 10:31
NotInControl NotInControl is offline
Controls Engineer
AKA: Kevin
FRC #2168 (Aluminum Falcons)
Team Role: Engineer
 
Join Date: Oct 2011
Rookie Year: 2004
Location: Groton, CT
Posts: 261
NotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond repute
Re: Problem in eclipse deploying code.

The problem that you are having is because your computer can not connect to the cRIO.

I am not sure how you setup your ant build for 2013 but you need to provide it the IP address of your cRIO.

I hope you are not using the 2012 plug-ins, because they won't work!

It is possible to use eclipse for 2013 development. See my other thread on this topic and follow the video.

http://www.chiefdelphi.com/forums/sh...hlight=eclipse

there is a .sunspot.properties file in your user directory. In there should contain the IP address to the crIO, as well as the location to the new 2013 WPILIBJ library file.
__________________
Controls Engineer, Team 2168 - The Aluminum Falcons
[2016 Season] - World Championship Controls Award, District Controls Award, 3rd BlueBanner
-World Championship- #45 seed in Quals, World Championship Innovation in Controls Award - Curie
-NE Championship- #26 seed in Quals, winner(195,125,2168)
[2015 Season] - NE Championship Controls Award, 2nd Blue Banner
-NE Championship- #26 seed in Quals, NE Championship Innovation in Controls Award
-MA District Event- #17 seed in Quals, Winner(2168,3718,3146)
[2014 Season] - NE Championship Controls Award & Semi-finalists, District Controls Award, Creativity Award, & Finalists
-NE Championship- #36 seed in Quals, SemiFinalist(228,2168,3525), NE Championship Innovation in Controls Award
-RI District Event- #7 seed in Quals, Finalist(1519,2168,5163), Innovation in Controls Award
-Groton District Event- #9 seed in Quals, QuarterFinalist(2168, 125, 5112), Creativity Award
[2013 Season] - WPI Regional Winner - 1st Blue Banner
Reply With Quote
  #4   Spotlight this post!  
Unread 30-01-2013, 16:37
apples000's Avatar
apples000 apples000 is offline
Registered User
no team
 
Join Date: Mar 2012
Rookie Year: 2012
Location: United States
Posts: 222
apples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant future
Re: Problem in eclipse deploying code.

If you don't have an important reason for developing with eclipse, I would recommend using netbeans. It has almost all of the same features, but its easier to get started with, and people will be able to help you more if you're using net beans.
Reply With Quote
  #5   Spotlight this post!  
Unread 01-02-2013, 09:43
java4first java4first is offline
(Java) Programming Mentor
AKA: Stu
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 2011
Location: Goffstown, NH
Posts: 56
java4first is an unknown quantity at this point
Re: Problem in eclipse deploying code.

I think you should work with what you are familiar with ... I personally think Eclipse is way better than Netbeans, and see no reason not to do it (Netbeans is not easier to get started with, and it uses way more resources than some of our old & tired laptops have). The FRC plugins aren't magic, and the YouTube video on the web is pretty straight forward on how to get going with Eclipse this year (we are currently running Eclipse on Windows, Linux and Macs for development).

From what you have, it sounds like you didn't define the remoteaddress property on the run Ant target with the IP address of the robot (we had the same problem until we watched the YouTube video). Although you can mess around with the properties files, you can also specify it on the command line arguments for your custom build command. If you can ping the robot successfully, then the deploy should work.
Reply With Quote
  #6   Spotlight this post!  
Unread 01-02-2013, 09:48
java4first java4first is offline
(Java) Programming Mentor
AKA: Stu
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 2011
Location: Goffstown, NH
Posts: 56
java4first is an unknown quantity at this point
Re: Problem in eclipse deploying code.

Again, assuming you can ping the robot successfully (or, as a better test, download and run a simple project using NetBeans) - the problem is likely to be the step at minute 20:00 in this YouTube video, which is what we used to get up and running.

http://www.youtube.com/watch?v=onGfI0zO4Oo
Reply With Quote
  #7   Spotlight this post!  
Unread 01-02-2013, 12:58
NotInControl NotInControl is offline
Controls Engineer
AKA: Kevin
FRC #2168 (Aluminum Falcons)
Team Role: Engineer
 
Join Date: Oct 2011
Rookie Year: 2004
Location: Groton, CT
Posts: 261
NotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond reputeNotInControl has a reputation beyond repute
Re: Problem in eclipse deploying code.

Quote:
Originally Posted by java4first View Post
Again, assuming you can ping the robot successfully (or, as a better test, download and run a simple project using NetBeans) - the problem is likely to be the step at minute 20:00 in this YouTube video, which is what we used to get up and running.

http://www.youtube.com/watch?v=onGfI0zO4Oo

Glad to see the video is helping
__________________
Controls Engineer, Team 2168 - The Aluminum Falcons
[2016 Season] - World Championship Controls Award, District Controls Award, 3rd BlueBanner
-World Championship- #45 seed in Quals, World Championship Innovation in Controls Award - Curie
-NE Championship- #26 seed in Quals, winner(195,125,2168)
[2015 Season] - NE Championship Controls Award, 2nd Blue Banner
-NE Championship- #26 seed in Quals, NE Championship Innovation in Controls Award
-MA District Event- #17 seed in Quals, Winner(2168,3718,3146)
[2014 Season] - NE Championship Controls Award & Semi-finalists, District Controls Award, Creativity Award, & Finalists
-NE Championship- #36 seed in Quals, SemiFinalist(228,2168,3525), NE Championship Innovation in Controls Award
-RI District Event- #7 seed in Quals, Finalist(1519,2168,5163), Innovation in Controls Award
-Groton District Event- #9 seed in Quals, QuarterFinalist(2168, 125, 5112), Creativity Award
[2013 Season] - WPI Regional Winner - 1st Blue Banner
Reply With Quote
Reply


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:03.

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