Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Camera Problems (with latest WPILib update) (http://www.chiefdelphi.com/forums/showthread.php?t=83265)

TheSorc3r3r 21-02-2010 11:56

Camera Problems (with latest WPILib update)
 
Every time we upload the basic camera code to display the camera image on the driver station, we get a "No Robot Code" error. Here is our code:

Code:

AxisCamera &camera = AxisCamera::GetInstance();
camera.WriteResolution(AxisCamera::kResolution_640x480);

while (IsOperatorControl()) {
camera.GetImage(image.GetImaqImage());
}

The camera is plugged in correctly. We ran the latest WPILib update (from Feb 17, v4.3) and it worked perfectly. Then, the next day we started getting the "No Robot Code" error again. Nothing was changed. The cRIO is imaged to v19. We've redone the update and tried everything else we can think of, but we're completely stumped. :ahh:

Does anyone have any ideas? Thanks!

Team 102

Greg McKaskle 21-02-2010 13:33

Re: Camera Problems (with latest WPILib update)
 
You have the latest version of WPILib, but an older version of the cRIO image. You need to install v20 on the cRIO.

Greg McKaskle

Teched3 21-02-2010 13:36

Re: Camera Problems (with latest WPILib update)
 
Here is a link to a thread that speaks to using the M1011 camera replacement.

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

It also contains a link to another thread that discusses updating the camera code to accommodate the M1011 substitution. :)

Greg McKaskle 21-02-2010 15:10

Re: Camera Problems (with latest WPILib update)
 
I don't know of any library changes needed for using the other camera.

Greg McKaskle

TheSorc3r3r 22-02-2010 20:10

Re: Camera Problems (with latest WPILib update)
 
We updated to v20 and it still doesn't work.


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

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