|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||||
|
|||||
|
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! ![]() |
|
#3
|
|||
|
|||
|
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.
|
|
#4
|
|||||
|
|||||
|
Re: Connecting to the cRIO
Quote:
If the ethernet cable doesn't work, try a crossover cable. |
|
#5
|
|||
|
|||
|
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. What is a crossover cable and what does it look like? |
|
#6
|
|||||
|
|||||
|
Re: Connecting to the cRIO
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 |
|
#7
|
||||
|
||||
|
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. |
|
#8
|
|||||
|
|||||
|
Re: Connecting to the cRIO
Quote:
|
|
#9
|
|||
|
|||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|