X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2FOI.java;h=f878e7cf57016d154da3f7c85ac3cbefed482210;hp=05fb72dbbbf46fc6c1bad4c9df8adbddc679354b;hb=9dc69158f74215de20fd5fdcee299020e8f2b88b;hpb=25ef99e622af7d7dbd7ddb6c9c1a7ec7e71b0b77 diff --git a/src/org/usfirst/frc/team3501/robot/OI.java b/src/org/usfirst/frc/team3501/robot/OI.java index 05fb72d..f878e7c 100644 --- a/src/org/usfirst/frc/team3501/robot/OI.java +++ b/src/org/usfirst/frc/team3501/robot/OI.java @@ -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()); }