|
Re: Joystick Command not working
Quote:
Originally Posted by otherguy
Code:
public class TankDrive extends Thread {
Joystick USB1 = new Joystick(1);
RobotDrive drive = new RobotDrive(2,3,1,4);
public void run(){
while(true){
drive.tankDrive(USB1.getRawAxis(2), USB1.getRawAxis(4));
}
}
}
|
My bad. Looked different without formatting.
__________________
All opinions are my own.
|