View Single Post
  #30   Spotlight this post!  
Unread 20-02-2010, 00:08
SuperBK's Avatar
SuperBK SuperBK is offline
Registered User
AKA: BrianK
FRC #1225 (Amperage Robotics)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Henersonville, NC
Posts: 357
SuperBK is just really niceSuperBK is just really niceSuperBK is just really niceSuperBK is just really nice
Re: Vision/AxisCamera2010.h

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
__________________
Brian K
Team 1225 Robotics Mentor
Reply With Quote