View Single Post
  #1   Spotlight this post!  
Unread 26-03-2012, 16:01
SoyStuff SoyStuff is offline
Registered User
FRC #1257
 
Join Date: Jan 2012
Location: Brooklyn
Posts: 29
SoyStuff is a jewel in the roughSoyStuff is a jewel in the roughSoyStuff is a jewel in the rough
Initializing the Axis Camera

How would one go about initializing the axis camera in the 2012 vision sample in C++and get an image? At this point, we've tried two methods.
Our camera is initialized exactly as it was in the 2010 vision sample. Here is how we tried to retrieve an image.
Code:
ColorImage* image;
image = axisCamera.GetImage();
I understand that this returns an HSLImage. Does that matter?

We've also tried this:
Code:
ColorImage* image;
axisCamera.GetImage(image);
This just causes us to lose communication. We don't really know why.

Please, enlighten us.

Thank you.
Reply With Quote