Thread: HELP!! HELP!!
View Single Post
  #4   Spotlight this post!  
Unread 24-03-2010, 23:49
The Lucas's Avatar
The Lucas The Lucas is offline
CaMOElot, it is a silly place
AKA: My First Name is really "The" (or Brian)
FRC #0365 (The Miracle Workerz); FRC#1495 (AGR); FRC#4342 (Demon)
Team Role: Mentor
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Dela-Where?
Posts: 1,564
The Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond repute
Send a message via AIM to The Lucas
Re: HELP!! HELP!!

Quote:
Originally Posted by krudeboy51 View Post
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.
__________________
Electrical & Programming Mentor ---Team #365 "The Miracle Workerz"
Programming Mentor ---Team #4342 "Demon Robotics"
Founding Mentor --- Team #1495 Avon Grove High School
2007 CMP Chairman's Award - Thanks to all MOE members (and others) past and present who made it a reality.
Robot Inspector
"I don't think I'm ever more ''aware'' than I am right after I burn my thumb with a soldering iron"

Last edited by The Lucas : 24-03-2010 at 23:53.