Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Camera causes code to fail when deploying/running on robot (http://www.chiefdelphi.com/forums/showthread.php?t=82580)

brianelite 13-02-2010 13:09

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

byteit101 13-02-2010 18:59

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

brianelite 13-02-2010 20:36

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

byteit101 13-02-2010 20:43

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

brianelite 13-02-2010 20:53

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?

byteit101 13-02-2010 21:32

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

KRibordy 14-02-2010 11:50

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

heydowns 15-02-2010 01:13

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.


All times are GMT -5. The time now is 12:59.

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