|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
FRC Drive Station help. No robot code!
Hello!
I'm totally new at the forum, so please be nice... We're having problem loading the robot codes to the cRio.. We're using Windriver, C++.. We're using an ethernet cable to connect to the cRio here's a screenshot [spoiler] ![]() [/spoiler]Can you please give down any suggestions to fix our problem ![]() Much help is appreciated! ![]() Last edited by tap13 : 01-27-2012 at 09:44 PM. |
|
#2
|
|||
|
|||
|
Re: FRC Drive Station help. No robot code!
I would try formatting the cRIO with the FRC 2012 cRIO Imaging Tool. When you do so, make sure that you select Windriver c++ as the option. Once you have done that, try compiling and deploying your Windriver c++ code to the cRIO.
|
|
#3
|
|||
|
|||
|
Re: FRC Drive Station help. No robot code!
Quote:
![]() |
|
#4
|
|||
|
|||
|
Re: FRC Drive Station help. No robot code!
Can you be more explicit about what the "problem" is? I see from the screen shot that the "Robot Code" light is red in the driver station. Is there anything wrong with the output from downloading the code? Similarly, is does the imaging tool complain at all?
|
|
#5
|
||||
|
||||
|
Re: FRC Drive Station help. No robot code!
|
|
#6
|
|||
|
|||
|
Re: FRC Drive Station help. No robot code!
Make sure firewall is off on DS computer.
Turn off wireless adapter on DS computer. Has ribbon cable been checked for improper assembly? From the picture it appears that this is one of the cables that needs to be reworked. See article on KOP Control System web page. http://www.usfirst.org/sites/default...structions.pdf Last edited by charrisTTI : 01-28-2012 at 08:47 AM. |
|
#7
|
|||
|
|||
|
Re: FRC Drive Station help. No robot code!
Quote:
Last edited by Chiller : 01-28-2012 at 11:06 PM. |
|
#8
|
|||
|
|||
|
Re: FRC Drive Station help. No robot code!
We fixed it it, thanks for the replies!
|
|
#9
|
|||
|
|||
|
Re: FRC Drive Station help. No robot code!
Great explanation on how you managed to do it!
|
|
#10
|
|||
|
|||
|
Re: FRC Drive Station help. No robot code!
yeah, it was actually the codes, we were loading the wrong codes...
|
|
#11
|
|||
|
|||
|
Re: FRC Drive Station help. No robot code!
Could you describe what you mean by the wrong codes? I am having a similar problem. Thanks. -Paul
|
|
#12
|
||||
|
||||
|
Re: FRC Drive Station help. No robot code!
Assuming that you are using C++, remember to reboot the robot each time that you load your code. (Java should do this for you)
Also, make sure to check that you don't have an incorrectly assembled ribbon cable. That will cause a TON of really odd and inexplicable problems. |
|
#13
|
|||
|
|||
|
Re: FRC Drive Station help. No robot code!
I think i know what tap13 was talking about when he said "we were loading the wrong codes..." as we had run into that problem before as well.
The problem was that we were sending the wrong file to the robot when we deployed code in WindRiver. What we did to fix this was the following... 0) open up windriver 1) go to Window > Preferences > FIRST Downloader Preferences. 2) change the file you download to the robot by clicking the browse button. 4) navigate through the project you wish to deploy until you find the .out file. then click open. you should now have something like this... C:\WindRiver\workspace\2012_Robot_Code\PPC603gnu\S impleTemplate\Debug\SimpleTemplate.out **Please Note** you have to build your project first in order for the .out file to appear in the debug folder. Anyways, thats what we did when we had a No Robot Code error on our Driver Station. Hopefully that works for you pmuller! ![]() |
|
#14
|
|||
|
|||
|
Re: FRC Drive Station help. No robot code!
Hi
We are having similar problem with Labview. Using the sample code to test the bench top setup and the dash board show no robot code. We have double checked the connections and the cable has been corrected. Any idea how to resolve this? Thanks |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|