Go to Post Consider how nature does this, and emulate. Nature usually has a pretty good algorithm. - DonRotolo [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 13-02-2010, 13:09
brianelite brianelite is offline
Registered User
FRC #2898
 
Join Date: Feb 2009
Location: oregon
Posts: 36
brianelite has a spectacular aura aboutbrianelite has a spectacular aura aboutbrianelite has a spectacular aura about
Camera causes code to fail when deploying/running on robot



You can see the only line of code making reference to the camera in the screenshot.

Has anyone else seen this? Anyone know a fix?

The code deploys/runs fine without that line of code, but cannot run or deploy with it... It seems there is a problem with the camera library or our library config...
__________________

Last edited by brianelite : 13-02-2010 at 16:50.
Reply With Quote
  #2   Spotlight this post!  
Unread 13-02-2010, 18:59
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Camera causes code to fail when deploying/running on robot

Do you have WPILib 4, 4.1 or 4.2 and cRIO update v19 or v20?
I got this error after updating from 4 and v19 to 4.2 and v20
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote
  #3   Spotlight this post!  
Unread 13-02-2010, 20:36
brianelite brianelite is offline
Registered User
FRC #2898
 
Join Date: Feb 2009
Location: oregon
Posts: 36
brianelite has a spectacular aura aboutbrianelite has a spectacular aura aboutbrianelite has a spectacular aura about
Re: Camera causes code to fail when deploying/running on robot

4.2 and v19... where do you get v20?

I went back and applied all the patches again (in order) and then this error started appearing... I did this because the camera code wasn't deploying to the robot... now I can deploy and run non camera code... but do nothing with anything camera related...
__________________
Reply With Quote
  #4   Spotlight this post!  
Unread 13-02-2010, 20:43
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Camera causes code to fail when deploying/running on robot

http://joule.ni.com/nidu/cds/view/p/lang/en/id/1534
from usfirst.org/frccontrolsystem
it doesn't show it, but there are DS and Labview (and therefore new images, in this case v20) updates. this page is slow to update
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote
  #5   Spotlight this post!  
Unread 13-02-2010, 20:53
brianelite brianelite is offline
Registered User
FRC #2898
 
Join Date: Feb 2009
Location: oregon
Posts: 36
brianelite has a spectacular aura aboutbrianelite has a spectacular aura aboutbrianelite has a spectacular aura about
Re: Camera causes code to fail when deploying/running on robot

Ok - I will check to see if that has been applied...

How did you get rid of the error?
__________________

Last edited by brianelite : 13-02-2010 at 21:10.
Reply With Quote
  #6   Spotlight this post!  
Unread 13-02-2010, 21:32
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Camera causes code to fail when deploying/running on robot

haven't yet, the meeting ended before I got a chance to work on it (and we were all excited making the robot drive)
I will see what I can do tommorow
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
Reply With Quote
  #7   Spotlight this post!  
Unread 14-02-2010, 11:50
KRibordy KRibordy is offline
Registered User
FRC #1000 (Cybearcats)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2006
Location: Valparaiso, IN
Posts: 36
KRibordy is an unknown quantity at this point
Re: Camera causes code to fail when deploying/running on robot

Look into the AxisCamera.h include; they changed some of the function names. In addition to changing the functions to camel case, I'm pretty sure they changed the name of the GetInstance function entirely. Looking into that Vision/AxisCamera.h should help.


Also, if you haven't done it, I think we had to change the include in the main file from AxisCamera2010.h to AxisCamera.h
Reply With Quote
  #8   Spotlight this post!  
Unread 15-02-2010, 01:13
heydowns's Avatar
heydowns heydowns is offline
Registered User
AKA: Jeff Downs
FRC #1511 (Rolling Thunder)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Ra-Cha-Cha
Posts: 142
heydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond repute
Re: Camera causes code to fail when deploying/running on robot

Please see:
http://www.chiefdelphi.com/forums/sh...d.php?p=920299

and/or

http://www.chiefdelphi.com/forums/sh...ad.php?t=82314

and/or

http://forums.usfirst.org/showthread.php?t=14573

These threads all describe similar issues to what you are reporting.
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
LabVIEW code deploying instead of running linkhyrule5 NI LabVIEW 6 10-01-2010 14:57
Running camera code wirelessly windell747 NI LabVIEW 4 09-02-2009 21:27
Problem deploying/running default code blaxbb FRC Control System 0 10-01-2009 11:59
Presence of function causes auton to fail??? Kyveck Programming 13 16-02-2006 14:48


All times are GMT -5. The time now is 13:05.

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