|
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.
|