View Single Post
  #1   Spotlight this post!  
Unread 17-01-2011, 18:53
team2491 team2491 is offline
Registered User
FRC #2491
 
Join Date: Dec 2008
Location: Minnesota
Posts: 14
team2491 is an unknown quantity at this point
Axis Camera Freezes

We're working with C++; not sure if this is relevant, or even if it's a programming issue, but about five seconds after our camera starts sending images, it freezes, sometimes coming back on a few minutes later (if so, it generally works from that point on). We're not really doing anything with the camera in our current version of the code, just letting it get sent to the Camera Image window in the driver station. The relevant code is as follows:


AxisCamera &camera = AxisCamera::GetInstance();
camera.WriteResolution(AxisCamera::kResolution_320 x240);
camera.WriteCompression(20);
camera.WriteBrightness(0);

Help?