diff --git a/src/main/java/org/team1540/bunnybotTank2023/RobotContainer.java b/src/main/java/org/team1540/bunnybotTank2023/RobotContainer.java index 59f33d5..a1f5864 100644 --- a/src/main/java/org/team1540/bunnybotTank2023/RobotContainer.java +++ b/src/main/java/org/team1540/bunnybotTank2023/RobotContainer.java @@ -90,7 +90,7 @@ private void configureButtonBindings() { copilot.b().whileTrue(new IntakeCommand(intake, -1)); copilot.y().whileTrue(new TurretZeroSequenceCommand(turret)); - copilot.x().whileTrue(new AutoAimShoot5(turret, shooter, indexer, limelight)); + copilot.x().whileTrue(new InstantCommand(intake::stop)); copilot.leftBumper().whileTrue(new TurretSetpointCommand(turret, Rotation2d.fromDegrees(0))); copilot.rightTrigger().onTrue(new ShootSequenceCommand(shooter, indexer, Constants.ShooterConstants.SHOOTER_ACTIVE_RPM)); copilot.leftTrigger().whileTrue(new TurretTrackTargetCommand(turret, limelight)); diff --git a/src/main/java/org/team1540/bunnybotTank2023/commands/indexer/IndexerCommand.java b/src/main/java/org/team1540/bunnybotTank2023/commands/indexer/IndexerCommand.java index c81f999..48b5f82 100644 --- a/src/main/java/org/team1540/bunnybotTank2023/commands/indexer/IndexerCommand.java +++ b/src/main/java/org/team1540/bunnybotTank2023/commands/indexer/IndexerCommand.java @@ -12,7 +12,7 @@ public IndexerCommand(Indexer indexer) { @Override public void initialize() { - indexer.setBottomSpeed(0.50); + indexer.setBottomSpeed(0.4); indexer.setTopSpeed(-0.2); } diff --git a/src/main/java/org/team1540/bunnybotTank2023/commands/indexer/IndexerIdleCommand.java b/src/main/java/org/team1540/bunnybotTank2023/commands/indexer/IndexerIdleCommand.java index cb947b3..9c69c45 100644 --- a/src/main/java/org/team1540/bunnybotTank2023/commands/indexer/IndexerIdleCommand.java +++ b/src/main/java/org/team1540/bunnybotTank2023/commands/indexer/IndexerIdleCommand.java @@ -12,7 +12,7 @@ public IndexerIdleCommand(Indexer indexer) { @Override public void initialize() { - indexer.setBottomSpeed(0.3); + indexer.setBottomSpeed(0.25); indexer.setTopSpeed(-0.2); } }