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

Commit

Permalink
fix: print for manual odometry update is more helpful
Browse files Browse the repository at this point in the history
  • Loading branch information
mimizh2418 committed Oct 16, 2023
1 parent 0b063ae commit a5ab15c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/team1540/robot2023/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ private void configureButtonBindings() {
driver.b().whileTrue(new TurnToGamePiece(drivetrain,driver, TurnToGamePiece.GamePiece.CONE));
//Coop: button(X, Cube vision [HOLD], pilot)
driver.x().whileTrue(new TurnToGamePiece(drivetrain,driver, TurnToGamePiece.GamePiece.CUBE));
driver.a().onTrue(drivetrain.updateOdometryAnd(new PrintCommand("aahsldkfshdlkfhdzlkfhjdwlksfhjkldsfsdklhfdskjlfhewdjklsfhjkgewasleghrlsdfg")));
driver.a().onTrue(drivetrain.updateOdometryAnd(new PrintCommand("Updating odometry")));

// Copilot
// driver.start().onTrue(new InstantCommand(drivetrain::updateWithApriltags).andThen(new PrintCommand("Rezeroing")).ignoringDisable(true));
Expand Down

0 comments on commit a5ab15c

Please sign in to comment.