Hi, i am a new programmer on my team (team 369), i need help programing our axis camera in c++ this is it so far:
#include “Vision/AxisCamera.h”
#include “Vision/HSLImage.h”
class RobotDemo : public SimpleRobot
AxisCamera *Camera;
void OperatorControl(void)
HSLImage image; //Creates an image
AxisCamera camera = AxisCamera::getInstance();
Camera->WriteResolution( 160x120 );
Camera.WriteBrightness(0);
but every time when i build it, there are many errors with it, CAN ANY ONE HELP ME PLEASE??? 
EricH
2
Can you get us a list, complete or partial, of the errors? That will help more than anything else for now.
Lets start with what I’ve bolded in the code below
**//#include "Vision/AxisCamera.h"
//#include "Vision/HSLImage.h"
#include "WPILib.h"**
class RobotDemo : public SimpleRobot
**{**
AxisCamera *Camera;
void OperatorControl(void)
**{**
HSLImage image; //Creates an image
AxisCamera camera = AxisCamera::**GetInstance();**
Camera->WriteResolution( 160x120 );
Camera.WriteBrightness(0);
Check to make sure you have done all the C++ updates. If you have then those header files should be commented out, WPILib is all you need.
im sorry i forgot they changed
#include “Vision/AxisCamera.h”
to
#include “Vision/HSLImage.h”