|
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
|