View Single Post
  #4   Spotlight this post!  
Unread 28-01-2012, 19:51
Chiller Chiller is offline
Registered User
AKA: Connor Christie
FRC #4095 (RoXI Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 118
Chiller is on a distinguished road
Re: Output not updated often enough error

In your robotInit instead of:
Code:
Joystick left = new Joystick(1);
Joystick right = new Joystick(2);
        
RobotDrive robot = new RobotDrive(1,2,3,4);
Replace it with:
Code:
left = new Joystick(1);
right = new Joystick(2);
        
robot = new RobotDrive(1,2,3,4);
You already created the object above so right here you just have to initialize it! Your IDE should've given you an error...
Reply With Quote