Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   NetBeans robot communication/subnet problems (http://www.chiefdelphi.com/forums/showthread.php?t=88744)

lusterlink 13-02-2011 01:46

Re: NetBeans robot communication/subnet problems
 
Quote:

Originally Posted by Jose.Pena2737 (Post 1021707)
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.

Jose.Pena2737 15-02-2011 21:53

Re: NetBeans robot communication/subnet problems
 
Thank you! we have a connection.

Billy_499 24-01-2012 18:28

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 :)

nickpeq 25-01-2012 00:23

Re: NetBeans robot communication/subnet problems
 
Quote:

Originally Posted by Billy_499 (Post 1112826)
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.

Derek012 26-01-2012 10:59

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.

Billy_499 26-01-2012 17:20

Re: NetBeans robot communication/subnet problems
 
How would I overload it?


All times are GMT -5. The time now is 10:32.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi