Go to Post To the best engineers, scientists, and thinkers, something that is "hard" isn't something to avoid; it is something that begs for us to prove that we can do it. STEM is built on the very idea of trying something, failing, and trying something different. - Bryan Herbst [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 21-02-2011, 09:47
tohlizzle tohlizzle is offline
Registered User
FRC #0900
 
Join Date: Feb 2011
Location: North Carolina
Posts: 3
tohlizzle is an unknown quantity at this point
Unhappy Connecting to the cRIO

I need help connecting to the CRIO. I have never been able to deploy code to it an need to to test line following.

NetBeans displays the following and then simply freezes:
Code:
CompilerOracle: exclude com/sun/squawk/Method.getParameterTypes
CompilerOracle: exclude com/sun/squawk/SymbolParser.getSignatureTypeAt
CompilerOracle: exclude com/sun/squawk/SymbolParser.stripMethods
[translating suite image [closed: false, parent: squawk] ...]
### Excluding compile: com.sun.squawk.Method::getParameterTypes
### Excluding compile: com.sun.squawk.SymbolParser::getSignatureTypeAt
[Including resource: META-INF/MANIFEST.MF]
Romizer processed 99 classes and generated 4 files.
Please help. Thank you in advance.
Reply With Quote
  #2   Spotlight this post!  
Unread 21-02-2011, 09:53
Robby Unruh's Avatar
Robby Unruh Robby Unruh is offline
*insert random dial-up tone here*
FRC #3266 (Robots R Us)
Team Role: Coach
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Eaton, OH
Posts: 338
Robby Unruh will become famous soon enough
Re: Connecting to the cRIO

Have you imaged your cRIO? Added the FRC plugins to Netbeans? Are you connected to the robot locally or wirelessly? Does the router on your robot have a 10.XX.YY.ZZ static ip address?

So many questions!
__________________
[Robots R Us #3266]
2015: Georgia Southern Classic (Winners / Thanks 1319 & 1648!), Queen City
2014: Crossroads, Queen City
2013: Buckeye, Queen City, Crossroads
2012: Buckeye, Queen City

2011: Buckeye
2010: Buckeye
Reply With Quote
  #3   Spotlight this post!  
Unread 21-02-2011, 09:57
tohlizzle tohlizzle is offline
Registered User
FRC #0900
 
Join Date: Feb 2011
Location: North Carolina
Posts: 3
tohlizzle is an unknown quantity at this point
Re: Connecting to the cRIO

The robot's IP address is 10.9.0.2 and my computer's is 10.9.0.7. The computer is connected to the robot by an ethernet cable that is connected to a wireless router that is connecteed to the cRIO. I just updated my plugins for NetBeans and restarted NetBeans. I do not know what "imaging the cRIO" is or how to do it or what a "static ip address" is.
Reply With Quote
  #4   Spotlight this post!  
Unread 21-02-2011, 10:04
Robby Unruh's Avatar
Robby Unruh Robby Unruh is offline
*insert random dial-up tone here*
FRC #3266 (Robots R Us)
Team Role: Coach
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Eaton, OH
Posts: 338
Robby Unruh will become famous soon enough
Re: Connecting to the cRIO

Quote:
Originally Posted by tohlizzle View Post
The robot's IP address is 10.9.0.2 and my computer's is 10.9.0.7. The computer is connected to the robot by an ethernet cable that is connected to a wireless router that is connecteed to the cRIO. I just updated my plugins for NetBeans and restarted NetBeans. I do not know what "imaging the cRIO" is or how to do it or what a "static ip address" is.
Try plugging directly in to the cRIO (with the ethernet cable) and run the cRIO Imaging Tool on your desktop. You'll have to image your cRIO to run the Java code.

If the ethernet cable doesn't work, try a crossover cable.
__________________
[Robots R Us #3266]
2015: Georgia Southern Classic (Winners / Thanks 1319 & 1648!), Queen City
2014: Crossroads, Queen City
2013: Buckeye, Queen City, Crossroads
2012: Buckeye, Queen City

2011: Buckeye
2010: Buckeye
Reply With Quote
  #5   Spotlight this post!  
Unread 21-02-2011, 11:36
tohlizzle tohlizzle is offline
Registered User
FRC #0900
 
Join Date: Feb 2011
Location: North Carolina
Posts: 3
tohlizzle is an unknown quantity at this point
Re: Connecting to the cRIO

I get the same problem with a direct connection to the cRIO:
Code:
CompilerOracle: exclude com/sun/squawk/Method.getParameterTypes
CompilerOracle: exclude com/sun/squawk/SymbolParser.getSignatureTypeAt
CompilerOracle: exclude com/sun/squawk/SymbolParser.stripMethods
[translating suite image [closed: false, parent: squawk] ...]
### Excluding compile: com.sun.squawk.Method::getParameterTypes
### Excluding compile: com.sun.squawk.SymbolParser::getSignatureTypeAt
[Including resource: META-INF/MANIFEST.MF]
Romizer processed 99 classes and generated 4 files.
Then NetBeans freezes.

What is a crossover cable and what does it look like?
Reply With Quote
  #6   Spotlight this post!  
Unread 21-02-2011, 15:14
Robby Unruh's Avatar
Robby Unruh Robby Unruh is offline
*insert random dial-up tone here*
FRC #3266 (Robots R Us)
Team Role: Coach
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Eaton, OH
Posts: 338
Robby Unruh will become famous soon enough
Re: Connecting to the cRIO

Quote:
Originally Posted by tohlizzle View Post
What is a crossover cable and what does it look like?
Not too sure myself. We're lucky enough to have a mentor who knows what he's doing with these kinds of things on the team. Take a look at the Wikipedia article if you have ethernet cables to spare, you have to re-wire them yourself.

http://en.wikipedia.org/wiki/Ethernet_crossover_cable
__________________
[Robots R Us #3266]
2015: Georgia Southern Classic (Winners / Thanks 1319 & 1648!), Queen City
2014: Crossroads, Queen City
2013: Buckeye, Queen City, Crossroads
2012: Buckeye, Queen City

2011: Buckeye
2010: Buckeye
Reply With Quote
  #7   Spotlight this post!  
Unread 21-02-2011, 19:48
Patrickwhite's Avatar
Patrickwhite Patrickwhite is offline
May the North be with you
FRC #0610 (The Coyotes)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Toronto
Posts: 88
Patrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of light
Re: Connecting to the cRIO

You shouldn't have to use a crossover cable to connect to the cRIO from a computer.
If you try and deploy the code without being connected to the robot, does it give you the same error? If so, it's probably a problem with your installation. If a reinstall of both NetBeans and the plugins doesn't solve the problem, try deploying from another computer to see if you get the same result.
__________________
while(!going.isTough());
tough.exit();

What will we do tonight, Warfa?
The same thing we do every night, Patrick. Sit and wait for Electrical.
Reply With Quote
  #8   Spotlight this post!  
Unread 22-02-2011, 08:10
Robby Unruh's Avatar
Robby Unruh Robby Unruh is offline
*insert random dial-up tone here*
FRC #3266 (Robots R Us)
Team Role: Coach
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Eaton, OH
Posts: 338
Robby Unruh will become famous soon enough
Re: Connecting to the cRIO

Quote:
Originally Posted by Patrickwhite View Post
You shouldn't have to use a crossover cable to connect to the cRIO from a computer.
If you try and deploy the code without being connected to the robot, does it give you the same error? If so, it's probably a problem with your installation. If a reinstall of both NetBeans and the plugins doesn't solve the problem, try deploying from another computer to see if you get the same result.
Our team couldn't get it working with an everyday old ethernet cable, but I guess that could've just been bad luck on our part.
__________________
[Robots R Us #3266]
2015: Georgia Southern Classic (Winners / Thanks 1319 & 1648!), Queen City
2014: Crossroads, Queen City
2013: Buckeye, Queen City, Crossroads
2012: Buckeye, Queen City

2011: Buckeye
2010: Buckeye
Reply With Quote
  #9   Spotlight this post!  
Unread 22-02-2011, 15:26
flameout flameout is offline
AKA Ryan Van Why
FRC #0957 (SWARM)
Team Role: Alumni
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Oregon
Posts: 168
flameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to allflameout is a name known to all
Re: Connecting to the cRIO

Some computers, such as the Classmate, have autodetecting hardware, so you can use a straight-through cable on them (we use the Classmate to image, and Linux machines to program).

To connect straight to the cRIO, you either need a crossover or an autodetecting port. If in question, use a crossover. Hopefully you have one lying around (you can hold both ends in the exact same orientation side-by-side. Iff the order of the colors (some wires are striped) match, it's a straight-through. If they are scrambled (some will still be right), then it's a crossover. If none of them match, you're doing it wrong )

Have you imaged the cRIO yet? (If no-one on your team knows, then you haven't).

What do you mean when you say that NetBeans "freezes"?

I hope this helps.
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 00:39.

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