Go to Post A good teacher always needs to be a good student - Redhead Jokes [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 09-12-2010, 01:42
ehlochbr ehlochbr is offline
Registered User
FRC #2990
 
Join Date: Nov 2010
Location: Salem, OR
Posts: 37
ehlochbr is an unknown quantity at this point
Error: within this context

I'm trying to add the code for the Axis camera and I keep seeing this error when I build the project "error: within this context".

#include "WPILib.h"
#include "Gamepad.h"
#include "Vision/AxisCamera.h"

class RobotDemo : public SimpleRobot
{
RobotDrive myRobot; // robot drive system
Gamepad controller;
AxisCamera camera;

public:
RobotDemo(void):
myRobot(10, 9, 2, 1), // these must be initialized in the same order
controller(1)
{ <------ERROR HERE

All I did was add the AxisCamera header file and the identifier (AxisCamera camera).

What am I missing? Thanks.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What's this number 80 in error math? K.Porter Programming 3 25-01-2007 18:28
Glitches Eliminated using Interrupt Context Saving, BUT ... mluckham Programming 22 09-01-2007 17:19
Trying to follow C18 interrupt context code... dcbrown Programming 5 21-12-2006 09:01
What is this error message? chantilly_team Programming 3 22-01-2005 10:09
Explain this link error? Larry Barello Programming 1 16-01-2004 11:06


All times are GMT -5. The time now is 18:09.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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