Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Vision/AxisCamera2010.h (http://www.chiefdelphi.com/forums/showthread.php?t=82835)

misko 20-02-2010 00:48

Re: Vision/AxisCamera2010.h
 
Quote:

Originally Posted by SuperBK (Post 924334)
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.


All times are GMT -5. The time now is 12:40.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi