View Single Post
  #1   Spotlight this post!  
Unread 21-02-2010, 11:56
TheSorc3r3r TheSorc3r3r is offline
Registered User
FRC #0102
 
Join Date: Mar 2009
Location: Somerville, NJ
Posts: 3
TheSorc3r3r is an unknown quantity at this point
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.

Does anyone have any ideas? Thanks!

Team 102