X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fsubsystems%2FDrivetrain.java;fp=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fsubsystems%2FDrivetrain.java;h=1267f2c914935d5e18c4787f6a353d2f80feb17f;hb=3cd438bd5b650a27b84ef37224025cd7f6086e7c;hp=90e78473d6971732bbc741ad769e4ec8bdb12809;hpb=7f5908bed5e4b04836fdc27fa1d1ca0334a7468a;p=ozzloy%40gmail.com%2F3501-spark-go diff --git a/src/org/usfirst/frc/team3501/robot/subsystems/Drivetrain.java b/src/org/usfirst/frc/team3501/robot/subsystems/Drivetrain.java index 90e7847..1267f2c 100644 --- a/src/org/usfirst/frc/team3501/robot/subsystems/Drivetrain.java +++ b/src/org/usfirst/frc/team3501/robot/subsystems/Drivetrain.java @@ -25,7 +25,7 @@ public class Drivetrain extends Subsystem { public void drive(double forward, double twist) { if (Math.abs(forward) < RobotMap.MIN_DRIVE_JOYSTICK_INPUT) forward = 0; - if (Math.abs(twist) < RobotMap.MIN_DRIVE_JOYSTICK_INPUT) + if (Math.abs(twist) < RobotMap.MIN_DRIVE_JOYSTICK_INPUT) twist = 0; robotDrive.arcadeDrive(