Go to Post Don't worry about where you will be. Just consider youself lucky for being where you have been. - sanddrag [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 02-21-2010, 12:47 AM
goodsky's Avatar
goodsky goodsky is offline
Programming Mentor
AKA: Skyler
FRC #1902 (Exploding Bacon)
Team Role: College Student
 
Join Date: Sep 2007
Rookie Year: 2005
Location: Orlando
Posts: 55
goodsky has a spectacular aura aboutgoodsky has a spectacular aura aboutgoodsky has a spectacular aura about
'No Code' when using Camera

Recently we updated our DS, Labview files and Windriver library to the latest versions offered by FIRST. Since then however, we have not been able to get the camera to run. Whenever we try to run a code that uses any Vision object the DS will get communications to the cRio but it will say that there is 'No Code' in the robot. That is, we will download the .out to the robot, and then after a reset the robot will regain communications but on the DS the light next to Robot Code will remain red and will say No Code.

This happened for the standard Vision2010 example as well. We have checked that our FRC_UserProgram.out is on the cRio, but for some reason it isn't starting up. Any ideas? (note: this seems similar to the issue with the DashboardLCD Object earlier in the season. But I have not heard any one else say that they have a similar problem.) Thank you in advance for any assistance.
__________________
OINK OINK BOOM!!!
Reply With Quote
  #2   Spotlight this post!  
Unread 02-21-2010, 01:04 AM
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,547
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: 'No Code' when using Camera

Version 4.2 had problems with the camera, 4.3 was released a few days ago to fix that.
Reply With Quote
  #3   Spotlight this post!  
Unread 02-21-2010, 04:15 PM
PlaidPillagers's Avatar
PlaidPillagers PlaidPillagers is offline
Registered User
FRC #2538 (Plaid Pillagers)
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Morris, Minnesota
Posts: 29
PlaidPillagers is an unknown quantity at this point
Re: 'No Code' when using Camera

4.3 did NOT fix this issue on my cRIO.
Not only does the camera cause this issue but so do the DriverStationLCD, and other DriverStation classes.

I REALLY need this to work so I can debug my code before ship date.

Help!
__________________
Team 2538
Plaid Pillagers
Morris, Minnesota
Rookie Year 2008
Reply With Quote
  #4   Spotlight this post!  
Unread 02-21-2010, 11:54 PM
mandrews281 mandrews281 is offline
Registered User
FRC #0281
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Greenville SC
Posts: 82
mandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to beholdmandrews281 is a splendid one to behold
Re: 'No Code' when using Camera

Are you using the NetConsole? It's been a big help for us this year debugging problems. You can watch the program crash in real time, and get some clues as to what's going on (especially if you scatter some printf's or cout's in your code).

The biggest "gotcha" is that the ini file that you have to edit MUST be uploaded so that it used Unix end-of-line characters. I recommend Notepad++ for making the edits and Filezilla for the FTP transfer.
__________________
Michael Andrews
Team #281 Programming Mentor
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
Camera causes code to fail when deploying/running on robot brianelite C/C++ 7 02-15-2010 01:13 AM
Using kevin's code for driving and camera tracking razzoc Programming 3 02-18-2007 08:50 AM
Problems when combine ADC code && camera code nirhaim1942 Programming 1 01-24-2007 06:58 AM
Possible danger using default camera code Mike Programming 3 02-07-2006 11:28 PM
problems using gyro/adc code with camera default code tanstaafl Programming 7 01-22-2006 11:09 PM


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

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