View Single Post
  #31   Spotlight this post!  
Unread 02-20-2010, 12:48 AM
misko misko is offline
Registered User
FRC #0852
 
Join Date: Dec 2009
Location: California
Posts: 22
misko is an unknown quantity at this point
Re: Vision/AxisCamera2010.h

Quote:
Originally Posted by SuperBK View Post
I tried to add the minimum camera code to the simple template to get camera to the dashboard. It builds, but when i download it it doesn't run because a symbol is missing: AxisCamera::GetInstance();

My includes are
#include "WPILib.h"
#include "Vision/AxisCamera.h"
#include "Vision/HSLImage.h"

My code calls:
AxisCamera &camera = AxisCamera::GetInstance();
HSLImage image;
camera.GetImage(&image);


Are those right?

You you have to call GetImage to get it to display on the dashboard?

Has anybody had any luck with the updated wplib?

Brian

Sounds like you have the version 4.2 of WPILib loaded. Load WPILib version 4.3, relink and download the new version.
Reply With Quote