View Full Version : Camera causes code to fail when deploying/running on robot
brianelite
13-02-2010, 13:09
http://i46.tinypic.com/15oxk79.png
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
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
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
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
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
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
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
Please see:
http://www.chiefdelphi.com/forums/showthread.php?p=920299
and/or
http://www.chiefdelphi.com/forums/showthread.php?t=82314
and/or
http://forums.usfirst.org/showthread.php?t=14573
These threads all describe similar issues to what you are reporting.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.