Skip to content

Commit 7c7c241

Browse files
committed
reverted
1 parent 8afe6ad commit 7c7c241

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

quail/src/main/java/com/mineinjava/quail/swerveDrive.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public Vec2d[] calculateMoveAngles(Vec2d moveVector, double rotationSpeed, doubl
4040
for (int i = 0; i < this.swerveModules.size(); i++) {
4141
swerveModuleBase module = swerveModules.get(i);
4242
Vec2d moduleOffCenterVector = module.position.subtract(centerPoint);
43-
Vec2d moduleRotationVector = moduleOffCenterVector.rotate(-Math.PI/2, false);
43+
Vec2d moduleRotationVector = moduleOffCenterVector; //.rotate(-Math.PI/2, false);
4444
moduleVectors[i] = moveVector.add(moduleRotationVector.scale(rotationSpeed));
4545
}
4646
return moduleVectors;

0 commit comments

Comments
 (0)