update code
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / OI.java
index 29fc9aa348afdf224d1071e2b28c06aa5d7d8e18..cae940f3a499a8ee96229858d82c003f21ed6c00 100644 (file)
@@ -1,7 +1,5 @@
 package org.usfirst.frc.team3501.robot;
 
-import org.usfirst.frc.team3501.robot.commands.climber.MaintainClimbedPosition;
-import org.usfirst.frc.team3501.robot.commands.climber.RunWinchContinuous;
 import org.usfirst.frc.team3501.robot.commands.climber.ToggleWinch;
 import org.usfirst.frc.team3501.robot.commands.driving.ToggleGear;
 import org.usfirst.frc.team3501.robot.commands.intake.ReverseIntakeContinuous;
@@ -74,14 +72,6 @@ public class OI {
         Constants.OI.DECREASE_SHOOTER_SPEED_PORT);
     decreaseShooterSpeed.whenPressed(new DecreaseShootingSpeed());
 
-    if (!isClimbing) {
-      toggleWinch.whenPressed(new RunWinchContinuous());
-      isClimbing = true;
-    } else {
-      toggleWinch.whenPressed(new MaintainClimbedPosition());
-      isClimbing = false;
-    }
-
     /*
      * if (!Robot.getDriveTrain().isClimbing()) { toggleWinch.whenPressed(new
      * RunWinchContinuous()); Robot.getDriveTrain().setClimbing(true); } else {