I really appreciate both of your replies, but making the corrections you suggested has led me to another problem.
Code:
class RobotDemo : public SimpleRobot
{
RobotDrive myRobot; // robot drive system
Gamepad controller;
AxisCamera& camera;
public:
RobotDemo(void):
myRobot(10, 9, 2, 1),
controller(1)
{ <-------------------------ERROR HERE
GetWatchdog().SetExpiration(0.1);
camera = AxisCamera::GetInstance(); <--------ERROR HERE
The first error says "uninitialized reference". How do I initialize it?
The second error gets me back to where I started. It says "error within this context".
This feels like one step forward then two steps back. Thanks for your help.