Go to Post I'm not the only one confused. Perfect. - MikLast [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-18-2010, 06:39 PM
Caboose's Avatar
Caboose Caboose is offline
Programmer - LabVIEW, C++, C#, Java
AKA: James Parks
FRC #0900 (Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: NC
Posts: 71
Caboose has a spectacular aura aboutCaboose has a spectacular aura about
Question 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.

cRIO Image: v19
Driver Station: Up to Date
__________________
navX Labview Library

"Robots are aluminum shavings, held together by zip-ties."

myManga

Last edited by Caboose : 01-19-2010 at 06:22 PM.
Reply With Quote
  #2   Spotlight this post!  
Unread 01-18-2010, 07:59 PM
Mike Copioli's Avatar
Mike Copioli Mike Copioli is offline
You make it pretty We make it dance
no team (Retired(3539, 217))
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2001
Location: Romeo
Posts: 453
Mike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond repute
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?
__________________
Mike Copioli
CTRE Hardware Engineer
http://www.ctr-electronics.com

Team 3539 The Byting Bull Dogs
2013 Michigan State Champions
Team 217 The Thunder Chickens
2006 World Champions
2008 World Champions
2009 Michigan State Champions
Reply With Quote
  #3   Spotlight this post!  
Unread 01-18-2010, 08:13 PM
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
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?
Reply With Quote
  #4   Spotlight this post!  
Unread 01-18-2010, 10:36 PM
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
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.
Reply With Quote
  #5   Spotlight this post!  
Unread 01-18-2010, 11:26 PM
TheDominis TheDominis is offline
Registered User
FRC #2152
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Port Orange, Florida
Posts: 88
TheDominis has a spectacular aura aboutTheDominis has a spectacular aura about
Re: 2010 Wind River [HELP]

Quote:
Originally Posted by basicxman View Post
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.
Reply With Quote
  #6   Spotlight this post!  
Unread 01-19-2010, 06:21 PM
Caboose's Avatar
Caboose Caboose is offline
Programmer - LabVIEW, C++, C#, Java
AKA: James Parks
FRC #0900 (Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: NC
Posts: 71
Caboose has a spectacular aura aboutCaboose has a spectacular aura about
Question 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...
Any ideas? Maybe a step-by-step tutorial?
-James
__________________
navX Labview Library

"Robots are aluminum shavings, held together by zip-ties."

myManga
Reply With Quote
  #7   Spotlight this post!  
Unread 01-19-2010, 06:27 PM
TheDominis TheDominis is offline
Registered User
FRC #2152
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Port Orange, Florida
Posts: 88
TheDominis has a spectacular aura aboutTheDominis has a spectacular aura about
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
Reply With Quote
  #8   Spotlight this post!  
Unread 01-19-2010, 09:27 PM
Caboose's Avatar
Caboose Caboose is offline
Programmer - LabVIEW, C++, C#, Java
AKA: James Parks
FRC #0900 (Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: NC
Posts: 71
Caboose has a spectacular aura aboutCaboose has a spectacular aura about
Talking Re: 2010 Wind River [HELP]

As it always happens we figured it out at the end of the day.
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 ...but we got it working now... finally...
__________________
navX Labview Library

"Robots are aluminum shavings, held together by zip-ties."

myManga
Reply With Quote
  #9   Spotlight this post!  
Unread 01-19-2010, 10:01 PM
TheDominis TheDominis is offline
Registered User
FRC #2152
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Port Orange, Florida
Posts: 88
TheDominis has a spectacular aura aboutTheDominis has a spectacular aura about
Re: 2010 Wind River [HELP]

Quote:
Originally Posted by Caboose View Post
As it always happens we figured it out at the end of the day.
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 ...but we got it working now... finally...
It's always the engineers' fault.
Reply With Quote
  #10   Spotlight this post!  
Unread 01-21-2010, 03:34 AM
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: 2010 Wind River [HELP]

Quote:
Originally Posted by Caboose View Post
As it always happens we figured it out at the end of the day.
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 ...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).

You can look here for detailed information: http://firstforge.wpi.edu/sf/wiki/do...b/wiki/Loadout
Reply With Quote
  #11   Spotlight this post!  
Unread 01-21-2010, 07:53 AM
Mike Copioli's Avatar
Mike Copioli Mike Copioli is offline
You make it pretty We make it dance
no team (Retired(3539, 217))
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2001
Location: Romeo
Posts: 453
Mike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond repute
Re: 2010 Wind River [HELP]

Quote:
Originally Posted by Caboose View Post
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 ...but we got it working now... finally...
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.
__________________
Mike Copioli
CTRE Hardware Engineer
http://www.ctr-electronics.com

Team 3539 The Byting Bull Dogs
2013 Michigan State Champions
Team 217 The Thunder Chickens
2006 World Champions
2008 World Champions
2009 Michigan State Champions
Reply With Quote
  #12   Spotlight this post!  
Unread 01-21-2010, 09:56 AM
Caboose's Avatar
Caboose Caboose is offline
Programmer - LabVIEW, C++, C#, Java
AKA: James Parks
FRC #0900 (Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: NC
Posts: 71
Caboose has a spectacular aura aboutCaboose has a spectacular aura about
Thumbs up Re: 2010 Wind River [HELP]

Quote:
Originally Posted by jhersh View Post
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.
__________________
navX Labview Library

"Robots are aluminum shavings, held together by zip-ties."

myManga
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Wind River Cds Team1710 C/C++ 0 09-22-2009 10:57 AM
Uninstall Wind River Lord_Jeremy C/C++ 0 01-15-2009 03:56 PM
SVN wind river Mr.Macdonald C/C++ 3 01-13-2009 12:40 PM
build in wind river Pneumaticsman C/C++ 3 01-12-2009 03:54 PM
Wind River Help BenB Programming 3 01-02-2009 09:42 PM


All times are GMT -5. The time now is 08:21 PM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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