Ok so this is the first year we’re using Wind River, after using LabView last year. We have all updates and can connect to the robot. We used an example provided by the FRC, the Simple Robot one i think, and can download it to the robot. But when we reboot the robot with the diver station plugged in we get green lights on ‘Communication’, ‘Code’, and ‘Stop Button’ but cant control the robot with the joystick. If anyone can help we would appreciate it.
If you are receiving green lights across the board it probably means that it is your code or hardware. Are you loading for release or debug? Also are you clicking the enable tab?(I have to ask) What port does the joystick/gamepad show up on? Are you using Victors or Jaguars?
For ‘Team Number:’ we have 587
For ‘File to download’ we have
<our workspace>/SimpleRobot/Debug/<whatevers here.>/SimpleRobot.out
I then build the project and click FIRST -> Download
We then restart the robot and again get green lights, and yes we do enable the robot…:rolleyes:
Any ideas? Maybe a step-by-step tutorial?
-James
As it always happens we figured it out at the end of the day.:rolleyes:
It had nothing to do with Wind River or the computer. What happened was when we were getting the cRIO ready for the move to it’s new robot body we unplugged the HUGE cable that goes to the little blue PWM control board and plugged it back into the cRIO in the wrong port:o …but we got it working now… finally…
One thing to put on your checklist when you are having complete lack of functionality problems like that is the /load_out.txt file that is now generated on the cRIO when it boots. It basically tells you if you’ve forgotten a required module or plugged it into the wrong slot. It even will tell you if you accidentally bent one of the DB15 pins over (on the backplane) and the module LOOKS like it’s plugged in, but there is no connection (rather difficult to debug otherwise).