Go to Post Everyone knows the best way to lose weight is to turn the robot upside down, shake vigourously, and throw away anything that falls out. - Mark Hamilton [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 27-01-2010, 17:45
eaglesfan10's Avatar
eaglesfan10 eaglesfan10 is offline
Registered User
FRC #1647 (Iron Devils)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2005
Location: New Jersey
Posts: 19
eaglesfan10 is an unknown quantity at this point
No Robot Code

I'm having a problem getting code on the robot. We're able to undeploy and download the code using wind river, but when we reboot it shows a red light next to robot code. I'm not sure why it's doing it, I'm able to connect to and ping the robot controller.
For some reason, this works on one of the laptops, but not others. Any one have any ideas?
Reply With Quote
  #2   Spotlight this post!  
Unread 27-01-2010, 18:15
kennypu kennypu is offline
Registered User
FRC #2467
 
Join Date: Jan 2010
Location: Hawaii
Posts: 40
kennypu is an unknown quantity at this point
Re: No Robot Code

this is the exact same problem I'm having right now. Windriver seems to download to cRIO fine, but the 'robot code' light stays red.
Reply With Quote
  #3   Spotlight this post!  
Unread 28-01-2010, 10:30
jalburty jalburty is offline
Joe Alburty
AKA: Joe Alburty
FRC #1763 (Paseo Pirates)
Team Role: Mentor
 
Join Date: Oct 2006
Rookie Year: 2005
Location: Kansas City
Posts: 25
jalburty will become famous soon enoughjalburty will become famous soon enough
Send a message via ICQ to jalburty
Re: No Robot Code

Did you see this thread?
http://www.chiefdelphi.com/forums/sh...ad.php?t=80194

Last edited by jalburty : 28-01-2010 at 10:45. Reason: wording only
Reply With Quote
  #4   Spotlight this post!  
Unread 01-02-2010, 18:24
kennypu kennypu is offline
Registered User
FRC #2467
 
Join Date: Jan 2010
Location: Hawaii
Posts: 40
kennypu is an unknown quantity at this point
Re: No Robot Code

The Driver Station is updated, I did the labview updates, but It still reports that there is no robot code.

EDIT:
I tried the 'run code at start up' thing that was in a doc file in the link jalburty gave, and I got it to work. Is there a similar thing for c++ though? because thats only labview. Is there a way to 'run code at start up' using windriver? Also, for some reason the voltage does not show, so I need to fix that as well. Thanks

Last edited by kennypu : 01-02-2010 at 19:27.
Reply With Quote
  #5   Spotlight this post!  
Unread 01-02-2010, 21:17
jalburty jalburty is offline
Joe Alburty
AKA: Joe Alburty
FRC #1763 (Paseo Pirates)
Team Role: Mentor
 
Join Date: Oct 2006
Rookie Year: 2005
Location: Kansas City
Posts: 25
jalburty will become famous soon enoughjalburty will become famous soon enough
Send a message via ICQ to jalburty
Re: No Robot Code

I would confirm that you have the LabView default code running correctly by completely going through Chapter 2 of the 2010 FRC Control System Manual before moving on to C++. Do the joysticks work in both tethered and wireless configurations?
Here is where to find the manual:
http://www.usfirst.org/roboticsprogr....aspx?id=10934

Please keep us posted as to your progress.
Reply With Quote
  #6   Spotlight this post!  
Unread 01-02-2010, 23:34
kennypu kennypu is offline
Registered User
FRC #2467
 
Join Date: Jan 2010
Location: Hawaii
Posts: 40
kennypu is an unknown quantity at this point
Re: No Robot Code

OK, I got it working, but in a different way. For somereason, the FIRST downloader in Windriver shows that it is uploading code to the cRIO, and gives no error, I looked into the cRIO through ftp, and saw that it had no code (it did not have the 'system/startup/...' directory). So All I did was created the folders and put the binary file in there manually and it worked. Anybody have a thought why the downloader was not working, or was I doing something wrong?
Reply With Quote
  #7   Spotlight this post!  
Unread 03-02-2010, 22:34
cmh0114 cmh0114 is offline
Registered User
AKA: Cam H
FRC #0217 (Thunderchickens)
Team Role: Alumni
 
Join Date: Jan 2009
Rookie Year: 2005
Location: Michigan
Posts: 61
cmh0114 will become famous soon enoughcmh0114 will become famous soon enough
Re: No Robot Code

We had the same problem earlier today, and our solution was this: create a new project in WindRiver, and copy your old project over one file at a time. After each file, rebuild the project and redeploy it to the robot. When you find out exactly which file is giving you the problem while running, debug it and figure out exactly what's wrong with the file. It might not be the specific solution to your problem, but it might help you figure out your solution, or at least rule out a few things. Good luck!
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
Compressor Code causes No Robot Code Error sircedric4 C/C++ 25 03-02-2010 10:13
No Robot Code mlim NI LabVIEW 10 21-01-2010 17:33
Robot Code? leftylink Programming 0 18-02-2008 14:34
Compiling Robot code... greatman05 Programming 5 11-02-2008 21:50
Robot Timing Code robotrobot2 Programming 8 19-01-2008 14:18


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

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