View Single Post
  #6   Spotlight this post!  
Unread 09-02-2010, 20:17
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Camera software Update 2/3/10 C/C++

Quote:
Originally Posted by kevin51292 View Post
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);
you aren't doing anything wrong, this is a WPILib bug. See post 3 above
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib