Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   2010 Wind River [HELP] (http://www.chiefdelphi.com/forums/showthread.php?t=80521)

Caboose 01-18-2010 06:39 PM

2010 Wind River [HELP]
 
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.:confused:

cRIO Image: v19
Driver Station: Up to Date

Mike Copioli 01-18-2010 07:59 PM

Re: 2010 Wind River [HELP]
 
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?

Alan Anderson 01-18-2010 08:13 PM

Re: 2010 Wind River [HELP]
 
Silly question: did you click "Enable" on the Driver Station? What does the status message in the bottom left corner of the display say?

basicxman 01-18-2010 10:36 PM

Re: 2010 Wind River [HELP]
 
Are you downloading the correct executable in Window->Preferences->FIRST Downloader Preferences?

Make sure hardware is set up, for some reason the USB Hub must be plugged into the left side of the Classmate.

TheDominis 01-18-2010 11:26 PM

Re: 2010 Wind River [HELP]
 
Quote:

Originally Posted by basicxman (Post 901985)
Are you downloading the correct executable in Window->Preferences->FIRST Downloader Preferences?

Make sure hardware is set up, for some reason the USB Hub must be plugged into the left side of the Classmate.

You can use the right one... just have to use the black connector.

Caboose 01-19-2010 06:21 PM

Re: 2010 Wind River [HELP]
 
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

TheDominis 01-19-2010 06:27 PM

Re: 2010 Wind River [HELP]
 
Another post details the process:

http://usfirst.org/uploadedFiles/Com...ed-Rev-0.7.pdf
http://first.wpi.edu/Images/CMS/Firs...artedWithC.pdf

Caboose 01-19-2010 09:27 PM

Re: 2010 Wind River [HELP]
 
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...:D

TheDominis 01-19-2010 10:01 PM

Re: 2010 Wind River [HELP]
 
Quote:

Originally Posted by Caboose (Post 902667)
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...:D

It's always the engineers' fault.

jhersh 01-21-2010 03:34 AM

Re: 2010 Wind River [HELP]
 
Quote:

Originally Posted by Caboose (Post 902667)
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...:D

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).

You can look here for detailed information: http://firstforge.wpi.edu/sf/wiki/do...b/wiki/Loadout

Mike Copioli 01-21-2010 07:53 AM

Re: 2010 Wind River [HELP]
 
Quote:

Originally Posted by Caboose (Post 902667)
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...:D

This reminds me of a really bad joke a student told me once.

Q. How many programmers does it take to screw in a light bulb?

A. None. Clearly this is a hardware problem.

Caboose 01-21-2010 09:56 AM

Re: 2010 Wind River [HELP]
 
Quote:

Originally Posted by jhersh (Post 903727)
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).

Thats's great to know. I never knew that.:)


All times are GMT -5. The time now is 10:02 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi