implement ToggleWinch command
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / OI.java
index 05fb72dbbbf46fc6c1bad4c9df8adbddc679354b..f878e7cf57016d154da3f7c85ac3cbefed482210 100644 (file)
@@ -1,6 +1,6 @@
 package org.usfirst.frc.team3501.robot;
 
-import org.usfirst.frc.team3501.robot.commandgroups.ToggleWinch;
+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;
 import org.usfirst.frc.team3501.robot.commands.intake.RunIntakeContinuous;
@@ -57,12 +57,6 @@ public class OI {
 
     toggleWinch = new JoystickButton(leftJoystick,
         Constants.OI.TOGGLE_WINCH_PORT);
-    /*
-     * if (!Robot.getDriveTrain().isClimbing()) { toggleWinch.whenPressed(new
-     * RunWinchContinuous()); Robot.getDriveTrain().setClimbing(true); } else {
-     * toggleWinch.whenPressed(new MaintainClimbedPosition());
-     * Robot.getDriveTrain().setClimbing(false); }
-     */
     toggleWinch.whenPressed(new ToggleWinch());
   }