View Single Post
  #1   Spotlight this post!  
Unread 09-02-2010, 20:10
kevin51292 kevin51292 is offline
Registered User
FRC #2753
 
Join Date: Dec 2008
Rookie Year: 2006
Location: Hillsborough, NJ
Posts: 8
kevin51292 is an unknown quantity at this point
Re: Camera software Update 2/3/10 C/C++

Hey guys!

I installed the update a couple of days ago and it seems to have created a problem that I'm wondering if anyone on here has been able to figure out. When I declare the Axis camera instance, I tried setting the resolution of the image, but when I do that it says that my resolution (kResolution_640x480) is undeclared. I am including the updated AxisCamera.h and AxisCameraParams.h header files. Do any of you have any ideas on what I'm doing wrong? Here is what my source code looks like:

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