|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Cannot move robot
So, this has been an issue for a month now. The other programmers & myself are looking to switch to Java. We inherited C++ from the old programmer, but we are better in Java. Sadly, we can't get Java or C++ to work. I could care less if C++ works, I'm just looking for help in getting Java to run.
What makes this really annoying is...
The cRIO is running on 2012_v43, and this is the only thing I'm not sure about (Is this latest?). Things we have tried...
The only thing I wish to try is seeing if the compressor & piston work. If they do I know this is a jaguar/motor/electrical problem (Which doesn't make any sense, since we have not modified the robot mechanically or electrically sine last competition. And it worked fine then). I'm literally clueless right now, for those interested, I even took pictures of all of it on my phone: Link to photos Any help would be awesome right now, I really want to practice with Java before the season starts! |
|
#2
|
||||
|
||||
|
Re: Cannot move robot
What are the LEDs on the cRIO doing? Check the cRIO support PDF if you don't know what I'm talking about. Page 15 explains some of the different blink codes.
|
|
#3
|
|||
|
|||
|
Re: Cannot move robot
We are not having any blink codes on the cRio
|
|
#4
|
||||
|
||||
|
Re: Cannot move robot
What do you mean by this? The driver station won't engage the tele-op or auto modes, or it engages, but does nothing?
Are there any error messages displayed in the driver station? |
|
#5
|
|||||
|
|||||
|
Re: Cannot move robot
Verify that you are downloading the program you think you are.
ftp to the cRIO and verify that the date of the Java program matches when you last downloaded it. It sort of sounds like you're running a default program with different controls in it. The Jaguars going solid mean they are being instantiated by the code. Let us know if the Driver Station Diagnostics tab shows any messages. Last edited by Mark McLeod : 15-11-2012 at 18:38. |
|
#6
|
|||
|
|||
|
Re: Cannot move robot
Quote:
Another words, I enable the mode via driver station, its on according to the driver station, but isn't doing anything. |
|
#7
|
|||
|
|||
|
Re: Cannot move robot
No error on console, and I was able to FTP into the robot fine. However, which directory is it in on the cRio?
|
|
#8
|
||||
|
||||
|
Re: Cannot move robot
A possible issue would be that your code throws an exception, or another error of sorts. Can you check your console window in netbeans to see if any error messages are being output'ed.
|
|
#9
|
|||
|
|||
|
Re: Cannot move robot
No, there is no stack trace. Can someone answer my question still? Where can I locate the code on the cRIO after I FTP in?
|
|
#10
|
|||
|
|||
|
Re: Cannot move robot
Huh, my original post didn't go through. Anyway, no stacktrace from netbeans. It builds & deploys fine. Can someone tell me where to look on the cRio? I went in via FTP but I have no idea where the directory is.
|
|
#11
|
||||
|
||||
|
Re: Cannot move robot
Are you enabling the robot on the driver station? It was not enabled in the picture you posted.
|
|
#12
|
|||
|
|||
|
Re: Cannot move robot
Yeah we did, the picture of the DS was to show a green light for the robot code & communications.
Is anyone able to answer my question? Where is the code located on the cRIO? |
|
#13
|
||||
|
||||
|
Re: Cannot move robot
I just want to confirm that you have the cRIO modules in the correct locations.
The Getting Started PDF explains this on page 12. (Just trying to narrow things down) |
|
#14
|
|||
|
|||
|
Re: Cannot move robot
As I said in my original post, the robot worked at our last event, and we have not modified it electrically or mechanically since then.
Also, can someone tell me where the directory is on the cRIO for the code. I was asked to confirm it's there but I'm not sure what directory it's in. |
|
#15
|
|||
|
|||
|
Re: Cannot move robot
Just tested the compressor, doesn't start either. I think the suggestion of default code being on the robot is correct, however, after I FTP in, what directory should I look in?
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|