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

Commit

Permalink
lying (on the internet)
Browse files Browse the repository at this point in the history
  • Loading branch information
carokhan authored Oct 3, 2024
1 parent 234e8bd commit 0db8a00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ private void configureButtonBindings() {
m_operator.y().whileTrue(
Commands.parallel(
m_pivot.setPivotTarget(() -> Units.degreesToRadians(45)),
m_shooter.setRPM(() -> 5000, 0.3)).until(() -> m_shooter.atSetpoint()) // DEMO: 2000
m_shooter.setRPM(() -> 5500, 0.3)).until(() -> m_shooter.atSetpoint()) // DEMO: 2000
.andThen(m_feeder.setRPM(() -> 3000)
.until(() -> (!m_feeder.feederBeambreakObstructed()
&& !m_feeder.shooterBeambreakObstructed()))));
Expand All @@ -252,7 +252,7 @@ private void configureButtonBindings() {
m_operator.b().whileTrue(
Commands.parallel(
m_pivot.setPivotTarget(() -> Units.degreesToRadians(20)),
m_shooter.setRPM(() -> 5000, 1)).until(() -> m_shooter.atSetpoint())); // DEMO: 2000, COMP: 5500
m_shooter.setRPM(() -> 5500, 1)).until(() -> m_shooter.atSetpoint())); // DEMO: 2000, COMP: 5500

// A for shooter at source
m_operator.a().whileTrue(
Expand Down

0 comments on commit 0db8a00

Please sign in to comment.