This commit is contained in:
Antoine PerreaultE 2024-01-10 19:13:08 -05:00
parent 55553c9ab8
commit 0f6021bcd6

View File

@ -39,7 +39,7 @@ public class Drive extends SubsystemBase {
final CanAndCoderSwerve arrieregaucheangle = new CanAndCoderSwerve(Constants.arrieregaucheAngle); final CanAndCoderSwerve arrieregaucheangle = new CanAndCoderSwerve(Constants.arrieregaucheAngle);
final CanAndCoderSwerve arrieredroitangle = new CanAndCoderSwerve(Constants.arrieredroitAngle); */ final CanAndCoderSwerve arrieredroitangle = new CanAndCoderSwerve(Constants.arrieredroitAngle); */
public void drive(double x, double y, double zRotation){ public void drive(double x, double y, double zRotation){
swerveDrive.drive(new Translation2d(x, y), zRotation, true, false); swerveDrive.drive(new Translation2d(x*4, y*4), zRotation, true, false);
} }