|
Re: Drive is inverted!
Instead of:
drive.tankDrive(joystick1.getRawAxis(2), joystick1.getRawAxis(5));
Try:
drive.tankDrive(-joystick1.getRawAxis(2), -joystick1.getRawAxis(5)); //Xbox
Putting a negative sign in front of joystick it will invert and now it should work fine.
Last edited by Dinoyan : 01-02-2014 at 19:24.
|