Go to Post Everyone please breathe before you post. - Jessica Boucher [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 Rating: Thread Rating: 23 votes, 4.96 average. Display Modes
  #1   Spotlight this post!  
Unread 12-02-2011, 21:37
Jose.Pena2737 Jose.Pena2737 is offline
Registered User
FRC #2737
 
Join Date: Feb 2011
Location: YES Prep SE
Posts: 2
Jose.Pena2737 is an unknown quantity at this point
Re: NetBeans robot communication/subnet problems

I'm having the same problem.

What happens after it gives me the subnet error, It says it's trying to connect to "FTP@ 10.0.0.2" even though our cRIO's IP address is 10.27.37.2.

If I change the cRio's IP to 10.0.0.2, it leaves me hanging on "Overload Me".

I've gone through various updates(I was having this problem two weeks ago, back then, the cRIO image was v25, now it's v27) and nothing has worked.

I would appreciate some help.
Reply With Quote
  #2   Spotlight this post!  
Unread 13-02-2011, 01:46
lusterlink's Avatar
lusterlink lusterlink is offline
Registered User
FRC #1160 (FireBird Robotics)
Team Role: Programmer
 
Join Date: Aug 2010
Rookie Year: 2009
Location: USA
Posts: 9
lusterlink is an unknown quantity at this point
Re: NetBeans robot communication/subnet problems

Quote:
Originally Posted by Jose.Pena2737 View Post
I'm having the same problem.

What happens after it gives me the subnet error, It says it's trying to connect to "FTP@ 10.0.0.2" even though our cRIO's IP address is 10.27.37.2.

If I change the cRio's IP to 10.0.0.2, it leaves me hanging on "Overload Me".

I've gone through various updates(I was having this problem two weeks ago, back then, the cRIO image was v25, now it's v27) and nothing has worked.

I would appreciate some help.
I believe this means you haven't set your team number in the preferences of Netbeans. It should be under Tools -> Options -> Miscellaneous ->FRC Configuration. Keep the cRIO's ip at 10.27.37.2.

Quote:
[cRIO] RobotInit() completed.
[cRIO]
[cRIO] Default IterativeRobot.disabledContinuous() method... Overload me!
Are you enabling the robot and getting the same output in Netconsole? Otherwise, I think enabling the robot will fix your problem.
__________________
Reply With Quote
  #3   Spotlight this post!  
Unread 24-01-2012, 18:28
Billy_499 Billy_499 is offline
Registered User
FRC #0499
 
Join Date: Jan 2012
Location: San Antonio
Posts: 2
Billy_499 is an unknown quantity at this point
Re: NetBeans robot communication/subnet problems

I am the programmer of team 499. I have been using lab view since my freshman year but this year our teacher said That we will be programming in java this year. Mine hangs at "overload me!" as well and I literally have no clue on how to proceed. Please help with detailed and simple instructions.

Sincerely,

Billy team 499
Reply With Quote
  #4   Spotlight this post!  
Unread 25-01-2012, 00:23
nickpeq nickpeq is offline
Turing-complete
FRC #1255 (Blarglefish)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Baytown, TX
Posts: 60
nickpeq is an unknown quantity at this point
Re: NetBeans robot communication/subnet problems

Quote:
Originally Posted by Billy_499 View Post
I am the programmer of team 499. I have been using lab view since my freshman year but this year our teacher said That we will be programming in java this year. Mine hangs at "overload me!" as well and I literally have no clue on how to proceed. Please help with detailed and simple instructions.

Sincerely,

Billy team 499
That's probably not hanging. Most methods for robot templates will print out 'overload me' until you overload them. But you usually don't need to overload very many methods. (often just one autonomous and one teleop method) As mentioned below, just stick your drive code into a method like teleopPeriodic (there are probably better ones) and Enable the robot in the right mode.
Definitely take a look at Java samples included with the java plugins.
Reply With Quote
  #5   Spotlight this post!  
Unread 26-01-2012, 10:59
Derek012's Avatar
Derek012 Derek012 is offline
I miss my frisbees
FRC #4564 (Orange Chaos)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2009
Location: Maine
Posts: 25
Derek012 is on a distinguished road
Re: NetBeans robot communication/subnet problems

What you guys need to do is go into your netbeans options and go to Misc. then from there you will see a tab named FRC config in that tab you need to set your team number to be whatever it is and then it will deploy code to 10.xx.yy.2 instead of 10.0.0.2, also even though the cRio tells you to overload the method the robot should still be able to run.
Reply With Quote
  #6   Spotlight this post!  
Unread 26-01-2012, 17:20
Billy_499 Billy_499 is offline
Registered User
FRC #0499
 
Join Date: Jan 2012
Location: San Antonio
Posts: 2
Billy_499 is an unknown quantity at this point
Re: NetBeans robot communication/subnet problems

How would I overload it?
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:43.

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