Skip to content

Commit

Permalink
added button to reset for auton (gonna get a merge conflict on comp 4)
Browse files Browse the repository at this point in the history
  • Loading branch information
PGgit08 committed Mar 26, 2024
1 parent f04f44a commit 6643f65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ private void configureBindings() {
_driveController.L1().onTrue(Commands.runOnce(_swerveSubsystem::toggleSpeed, _swerveSubsystem));
_driveController.R1().onTrue(Commands.runOnce(() -> _swerveSubsystem.fieldOriented = !_swerveSubsystem.fieldOriented, _swerveSubsystem));
_driveController.cross().whileTrue(new BrakeSwerve(_swerveSubsystem, _ledSubsystem));
_driveController.square().onTrue(Commands.runOnce(() -> AutonShoot.canShoot = false));

// TESTING ONLY!!!
_driveController.triangle().onTrue(Commands.runOnce(() -> _swerveSubsystem.resetGyro(180), _swerveSubsystem));
Expand Down

0 comments on commit 6643f65

Please sign in to comment.