This commit is contained in:
Antoine PerreaultE 2024-02-29 14:39:45 -05:00
parent e8252ff382
commit 5af7065542

View File

@ -27,7 +27,7 @@ public class Drive extends SubsystemBase {
File swerveJsonDirectory = new File(Filesystem.getDeployDirectory(),"swerve");
public AHRS gyroscope = new AHRS();
public void drive(double x, double y, double zRotation){
swerveDrive.drive(new Translation2d(x*5, y*5), zRotation*3, true, false);
swerveDrive.drive(new Translation2d(x*5, y*5), zRotation*4, true, false);
}
public Drive() {