Go to Post po-nos, cancans, and totes ma goats - dubiousSwain [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 02-09-2015, 08:53 PM
BrighidKHeh's Avatar
BrighidKHeh BrighidKHeh is offline
Registered User
FRC #3871 (Trojan Robotics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2011
Location: Worthington, MN
Posts: 37
BrighidKHeh is an unknown quantity at this point
"Host cannot connect to subnet"

So I tried to run my code in Netbeans to establish a connection, but I get an error every time saying "WARNING: Host is not on same subnet as robot. May not be able to complete all communications with robot."
In the Driver Station, I have Joysticks and Communications, but I can't figure out how to get code. How do I fix this?
Reply With Quote
  #2   Spotlight this post!  
Unread 02-09-2015, 09:13 PM
cstelter cstelter is offline
Programming Mentor
AKA: Craig Stelter
FRC #3018 (Nordic Storm)
Team Role: Mentor
 
Join Date: Apr 2012
Rookie Year: 2012
Location: Mankato, MN
Posts: 77
cstelter will become famous soon enough
Re: "Host cannot connect to subnet"

Quote:
Originally Posted by BrighidKHeh View Post
So I tried to run my code in Netbeans to establish a connection, but I get an error every time saying "WARNING: Host is not on same subnet as robot. May not be able to complete all communications with robot."
In the Driver Station, I have Joysticks and Communications, but I can't figure out how to get code. How do I fix this?
Switch to Eclipse per the 2015 FRC Control System Setup instructions?

https://wpilib.screenstepslive.com/s...eclipse-c-java
Reply With Quote
  #3   Spotlight this post!  
Unread 02-10-2015, 05:07 PM
BrighidKHeh's Avatar
BrighidKHeh BrighidKHeh is offline
Registered User
FRC #3871 (Trojan Robotics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2011
Location: Worthington, MN
Posts: 37
BrighidKHeh is an unknown quantity at this point
Re: "Host cannot connect to subnet"

How can I transfer my Netbeans code to Eclipse? Do we HAVE to use Eclipse this year???? My code has no errors in Netbeans, but is made up of all errors in Eclipse, and I'm not sure why.

Last edited by BrighidKHeh : 02-10-2015 at 07:58 PM.
Reply With Quote
  #4   Spotlight this post!  
Unread 02-10-2015, 10:07 PM
cstelter cstelter is offline
Programming Mentor
AKA: Craig Stelter
FRC #3018 (Nordic Storm)
Team Role: Mentor
 
Join Date: Apr 2012
Rookie Year: 2012
Location: Mankato, MN
Posts: 77
cstelter will become famous soon enough
Re: "Host cannot connect to subnet"

I'm not an expert in it, but the control system walkthrough says use eclipse this year. I suspect the back end deploy (the part that finds and talks with the roboRio) was updated in eclipse and the old build mech (ant??) in netbeans may not. We've had no problems using eclipse. If for some reason no wpilib imports are being resolved, try opening an example project first before a robotBuilder project. Or start with IterativeRobot skeleton and add your code, but eclipse/C/C++ is what we were directed to use.
Reply With Quote
  #5   Spotlight this post!  
Unread 02-11-2015, 08:38 AM
Fauge7 Fauge7 is offline
Head programmer
FRC #3019 (firebird robotics)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Scottsdale
Posts: 195
Fauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to allFauge7 is a name known to all
Re: "Host cannot connect to subnet"

It's both any build scripts, but is eclipse that bad? I have had nothing bad go wrong with it. Eclipse over NetBeans any day, in fact most if not art java developers will tell you that
Reply With Quote
  #6   Spotlight this post!  
Unread 02-11-2015, 04:26 PM
BrighidKHeh's Avatar
BrighidKHeh BrighidKHeh is offline
Registered User
FRC #3871 (Trojan Robotics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2011
Location: Worthington, MN
Posts: 37
BrighidKHeh is an unknown quantity at this point
Re: "Host cannot connect to subnet"

So I CAN use Netbeans this season? There is nothing bad about Eclipse, but with 5 days left of the build season, I don't have time to try and figure out Eclipse.

Last edited by BrighidKHeh : 02-11-2015 at 04:40 PM.
Reply With Quote
  #7   Spotlight this post!  
Unread 02-11-2015, 04:45 PM
Ozuru's Avatar
Ozuru Ozuru is offline
It's always the programmer's fault.
no team
 
Join Date: May 2013
Rookie Year: 2010
Location: Earth
Posts: 268
Ozuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to behold
Re: "Host cannot connect to subnet"

Quote:
Originally Posted by BrighidKHeh View Post
So I CAN use Netbeans this season? There is nothing bad about Eclipse, but with 5 days left of the build season, I don't have time to try and figure out Eclipse.
There is nothing to figure out with Eclipse. I highly suggest you use Eclipse -- figuring out how to use Netbeans rather than Eclipse will be way more time consuming than just switching to Eclipse. It takes maybe thirty minutes max of time to setup Eclipse -- Eclipse this year is actually easier to use than Netbeans last year, in my opinion.
Reply With Quote
  #8   Spotlight this post!  
Unread 02-11-2015, 04:57 PM
BrighidKHeh's Avatar
BrighidKHeh BrighidKHeh is offline
Registered User
FRC #3871 (Trojan Robotics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2011
Location: Worthington, MN
Posts: 37
BrighidKHeh is an unknown quantity at this point
Re: "Host cannot connect to subnet"

I already know how to use Netbeans. I'm not sure how or where to figure out Eclipse based off of an FRC code. All of this year's code that I tried to copy over from Netbeans turned into all errors. I figured it would be easier to go with Netbeans because I have no idea what I'm doing with Eclipse.
Reply With Quote
  #9   Spotlight this post!  
Unread 02-11-2015, 07:00 PM
Ben Wolsieffer Ben Wolsieffer is offline
Dartmouth 2020
AKA: lopsided98
FRC #2084 (Robots by the C)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Manchester, MA (Hanover, NH)
Posts: 520
Ben Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud ofBen Wolsieffer has much to be proud of
Re: "Host cannot connect to subnet"

When you copied your code to Eclipse, did you have the FRC plugins installed and did you create the correct project type. You are going to have a very hard time if you try to continue using Eclipse.
__________________



2016 North Shore District - Semifinalists and Excellence in Engineering Award
2015 Northeastern University District - Semifinalists and Creativity Award
2014 Granite State District - Semifinalists and Innovation in Control Award
2012 Boston Regional - Finalists
Reply With Quote
  #10   Spotlight this post!  
Unread 02-11-2015, 08:06 PM
BrighidKHeh's Avatar
BrighidKHeh BrighidKHeh is offline
Registered User
FRC #3871 (Trojan Robotics)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2011
Location: Worthington, MN
Posts: 37
BrighidKHeh is an unknown quantity at this point
Re: "Host cannot connect to subnet"

Yes, I have all of the FRC Plugins installed, and I'm in the wpilib Robot project. Am I able to use Netbeans instead of Eclipse this season though? I haven't received a solid answer to that question yet.

Last edited by BrighidKHeh : 02-11-2015 at 08:27 PM.
Reply With Quote
  #11   Spotlight this post!  
Unread 02-11-2015, 08:47 PM
Cel Skeggs Cel Skeggs is offline
Robot Software Manager Alumnus
AKA: Previously known as Colby
FRC #1540 (The Flaming Chickens)
Team Role: Alumni
 
Join Date: Feb 2013
Rookie Year: 2009
Location: Portland, Oregon, USA
Posts: 107
Cel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of lightCel Skeggs is a glorious beacon of light
Re: "Host cannot connect to subnet"

Quote:
Originally Posted by BrighidKHeh View Post
Yes, I have all of the FRC Plugins installed, and I'm in the wpilib Robot project. Am I able to use Netbeans instead of Eclipse this season though? I haven't received a solid answer to that question yet.
Theoretically, yes. Practically, no. It would probably take someone with a lot of experience a couple days to make a version that works in NetBeans, and I haven't heard of anyone doing it.

Can you post a screenshot of your Eclipse setup open with an error'd file open?
(You can use a site like imgur to upload screenshots, and if you're using a recent version of Windows, you can use the Snipping Tool to take screenshots.)
__________________
Software manager alumnus. Developer of the CCRE, a powerful robot code framework based on dataflow and composibility.
Refer to as she/her/hers. Years of FRC: 2012, 2013, 2014, 2015, 2016. FLL for a few years beforehand.
Team 1540: The Flaming Chickens | Portland, Oregon | Twitter | Facebook
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 08:54 AM.

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