mirror of
https://github.com/Team4388/2023WayOfTheRobot.git
synced 2026-06-09 00:37:59 -06:00
added buttons and stuff
This commit is contained in:
@@ -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()));
|
||||
|
||||
Reference in New Issue
Block a user