Skip to content

Commit

Permalink
changed auto pickup note to a continous input
Browse files Browse the repository at this point in the history
  • Loading branch information
Gitter499 committed Mar 7, 2024
1 parent 08fbe68 commit 9b8317d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/robolancers321/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ private void configureDriverController() {
.onFalse(this.retractor.moveToRetracted());

new Trigger(this.driverController::getAButton).onTrue(this.drivetrain.turnToAngle(90.0));
new Trigger(this.driverController::getBButton).onTrue(new AutoPickupNote());
new Trigger(this.driverController::getBButton).whileTrue(new AutoPickupNote());
new Trigger(this.driverController::getXButton).onTrue(new EmergencyCancel());
}

Expand Down

0 comments on commit 9b8317d

Please sign in to comment.