Quote:
Originally Posted by krudeboy51
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:
but every time when i build it, there are many errors with it, CAN ANY ONE HELP ME PLEASE??? 
|
Lets start with what I've bolded in the code below
Code:
//#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.