From e89068cdfd85a7c71319448c1169748e6095ae80 Mon Sep 17 00:00:00 2001 From: Zach Rutman Date: Sat, 14 Sep 2024 10:36:54 -0700 Subject: [PATCH] fix: run kid mode swerve drive --- src/main/java/org/team1540/robot2024/RobotContainer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/team1540/robot2024/RobotContainer.java b/src/main/java/org/team1540/robot2024/RobotContainer.java index a9d6e3b..fbc1c7b 100644 --- a/src/main/java/org/team1540/robot2024/RobotContainer.java +++ b/src/main/java/org/team1540/robot2024/RobotContainer.java @@ -13,7 +13,7 @@ import org.team1540.robot2024.commands.autos.*; import org.team1540.robot2024.commands.climb.ClimbAlignment; import org.team1540.robot2024.commands.drivetrain.DriveWithAmpSideLock; -import org.team1540.robot2024.commands.drivetrain.SwerveDriveCommand; +import org.team1540.robot2024.commands.drivetrain.KidModeSwerveDriveCommand; import org.team1540.robot2024.commands.drivetrain.WheelRadiusCharacterization; import org.team1540.robot2024.commands.elevator.ElevatorManualCommand; import org.team1540.robot2024.commands.indexer.ContinuousIntakeCommand; @@ -130,7 +130,7 @@ private void configureLedBindings() { private void configureButtonBindings() { Command manualPivotCommand = new ManualPivotCommand(shooter, copilot); - drivetrain.setDefaultCommand(new SwerveDriveCommand(drivetrain, driver)); + drivetrain.setDefaultCommand(new KidModeSwerveDriveCommand(drivetrain, driver)); elevator.setDefaultCommand(new ElevatorManualCommand(elevator, copilot)); shooter.setDefaultCommand(manualPivotCommand); driver.b().onTrue(Commands.runOnce(drivetrain::stopWithX, drivetrain));