Fix 2024 auto align

This commit is contained in:
Michael Mikovsky
2025-01-15 17:55:24 -07:00
parent 5f9a38f55d
commit 063fb74b78
4 changed files with 22 additions and 21 deletions
@@ -79,7 +79,7 @@ public class SwerveDrive extends Subsystem {
if (fieldRelative) {
swerveDriveTrain.setControl(new SwerveRequest.FieldCentric()
.withVelocityX(leftStick.getX()*speedAdjust)
.withVelocityX(leftStick.getX()*-speedAdjust)
.withVelocityY(leftStick.getY()*speedAdjust)
.withRotationalRate(rightStick.getX()*rotSpeedAdjust)
);