import org.usfirst.frc.team3501.robot.commands.climber.BrakeCANTalons;
import org.usfirst.frc.team3501.robot.commands.climber.CoastCANTalons;
+import org.usfirst.frc.team3501.robot.commands.climber.ToggleWinch;
import org.usfirst.frc.team3501.robot.commands.driving.ToggleDriveGear;
import org.usfirst.frc.team3501.robot.commands.driving.ToggleGearManipulatorPiston;
import org.usfirst.frc.team3501.robot.commands.intake.ReverseIntakeContinuous;
public static Button brakeCANTalons;
public static Button coastCANTalons;
+ public static Button climb;
public OI() {
leftJoystick = new Joystick(Constants.OI.LEFT_STICK_PORT);
coastCANTalons = new JoystickButton(rightJoystick,
Constants.OI.COAST_CANTALONS_PORT);
coastCANTalons.whenPressed(new CoastCANTalons());
+
+ climb = new JoystickButton(leftJoystick, Constants.OI.CLIMB_PORT);
+ climb.whenPressed(new ToggleWinch());
}
public static OI getOI() {