From eacabafab272f6c7474a76601bd23b7f90e36cfc Mon Sep 17 00:00:00 2001 From: Antoine PerreaultE Date: Sat, 24 Feb 2024 15:22:57 -0500 Subject: [PATCH] --- src/main/java/frc/robot/subsystem/Drive.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/frc/robot/subsystem/Drive.java b/src/main/java/frc/robot/subsystem/Drive.java index 870322e..4b4eab7 100644 --- a/src/main/java/frc/robot/subsystem/Drive.java +++ b/src/main/java/frc/robot/subsystem/Drive.java @@ -25,12 +25,12 @@ public class Drive extends SubsystemBase { File swerveJsonDirectory = new File(Filesystem.getDeployDirectory(),"swerve"); public void drive(double x, double y, double zRotation){ - swerveDrive.drive(new Translation2d(x*3, y*3), zRotation*3, true, false); + swerveDrive.drive(new Translation2d(x*5, y*5), zRotation*3, true, false); } public Drive() { try { - this.swerveDrive = new SwerveParser(swerveJsonDirectory).createSwerveDrive(3); + this.swerveDrive = new SwerveParser(swerveJsonDirectory).createSwerveDrive(5); } catch (IOException e) { e.printStackTrace(); }