View Single Post
  #3   Spotlight this post!  
Unread 27-01-2012, 15:01
ProgrammerMatt ProgrammerMatt is offline
Programmer-Electrical-Mechanical
FRC #0228 (Gus)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Southington
Posts: 138
ProgrammerMatt is just really niceProgrammerMatt is just really niceProgrammerMatt is just really niceProgrammerMatt is just really nice
Re: Output not updated often enough error

Just a heads up..
When you put this before your init: P.S you can declare 2 things in one line just use commas,

Code:
Joystick left;
Joystick right;
Joystick left, right;
You don't have to put it again you put:
Code:
Joystick left = new Joystick(1);
Joystick right = new Joystick(2);
You already declared left as a joystick you dont have to do it again, just saying.

You dident declare an axis for driving
Code:
robot.tankDrive(left.getY(),right.getY());

Last edited by ProgrammerMatt : 27-01-2012 at 15:06.
Reply With Quote