toggleWinch = new JoystickButton(leftJoystick,
Constants.OI.TOGGLE_WINCH_PORT);
- toggleWinch.whenPressed(new ToggleWinch());
increaseShooterSpeed = new JoystickButton(leftJoystick,
Constants.OI.INCREASE_SHOOTER_SPEED_PORT);
toggleWinch.whenPressed(new MaintainClimbedPosition());
isClimbing = false;
}
+
/*
* if (!Robot.getDriveTrain().isClimbing()) { toggleWinch.whenPressed(new
* RunWinchContinuous()); Robot.getDriveTrain().setClimbing(true); } else {