1 parent 8afe6ad commit 7c7c241Copy full SHA for 7c7c241
1 file changed
quail/src/main/java/com/mineinjava/quail/swerveDrive.java
@@ -40,7 +40,7 @@ public Vec2d[] calculateMoveAngles(Vec2d moveVector, double rotationSpeed, doubl
40
for (int i = 0; i < this.swerveModules.size(); i++) {
41
swerveModuleBase module = swerveModules.get(i);
42
Vec2d moduleOffCenterVector = module.position.subtract(centerPoint);
43
- Vec2d moduleRotationVector = moduleOffCenterVector.rotate(-Math.PI/2, false);
+ Vec2d moduleRotationVector = moduleOffCenterVector; //.rotate(-Math.PI/2, false);
44
moduleVectors[i] = moveVector.add(moduleRotationVector.scale(rotationSpeed));
45
}
46
return moduleVectors;
0 commit comments