added buttons and stuff

This commit is contained in:
66945
2023-02-25 20:50:51 -07:00
parent 220d511958
commit 7a69a3dd00
2 changed files with 13 additions and 4 deletions
@@ -106,8 +106,7 @@ public class RobotContainer {
chooser.addOption("Taxi", taxi);
playbackChooser = new PlaybackChooser(m_robotSwerveDrive,
"Balance", new AutoBalance(m_robotMap.gyro, m_robotSwerveDrive),
"Balance2", new AutoBalance(m_robotMap.gyro, m_robotSwerveDrive));
"Balance", new AutoBalance(m_robotMap.gyro, m_robotSwerveDrive));
new JoystickButton(getDeadbandedDriverController(), XboxController.X_BUTTON)
.onTrue(new InstantCommand(() -> playbackChooser.appendCommand()));