|
robotDrive.drive help?
So we had the program work so that if (stickRight.getRawButton(1) == true)
{robotDrive.drive(1.0,0.0); }
if (stickLeft.getRawButton(1) == true)_
{robotDrive.drive(0.2,0.0); }
but when we try this it works partially. When we push button 1 on stickRight, it moves faster but only one motor moves faster. Vice versa with button 1 on stickLeft, only one motor moves slow. Any help?
|