Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
feat: indexer + intake changes
Browse files Browse the repository at this point in the history
Co-authored-by: DaviTheDinosaur <[email protected]>
  • Loading branch information
mimizh2418 and DaviTheDinosaur committed Dec 16, 2023
1 parent 76cebc5 commit 55e59f2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public IndexerCommand(Indexer indexer) {

@Override
public void initialize() {
indexer.setBottomSpeed(0.50);
indexer.setBottomSpeed(0.4);
indexer.setTopSpeed(-0.2);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public IndexerIdleCommand(Indexer indexer) {

@Override
public void initialize() {
indexer.setBottomSpeed(0.3);
indexer.setBottomSpeed(0.25);
indexer.setTopSpeed(-0.2);
}
}
Expand Down

0 comments on commit 55e59f2

Please sign in to comment.