Skip to content

Commit c8d853c

Browse files
committed
fix swerve print offsets func by negativeizing it fornow
1 parent eaf9693 commit c8d853c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/frc/robot/subsystems/swerve/SwerveSubsystem.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -600,10 +600,10 @@ public void resetAhrs() {
600600

601601
/** Prints the current module angles. Used for zeroing swerve. */
602602
public void printModuleAngles() {
603-
System.out.println("FL: " + GRTUtil.twoDecimals(frontLeftModule.getRawAngle().getRadians())
604-
+ " FR: " + GRTUtil.twoDecimals(frontRightModule.getRawAngle().getRadians())
605-
+ " BL: " + GRTUtil.twoDecimals(backLeftModule.getRawAngle().getRadians())
606-
+ " BR: " + GRTUtil.twoDecimals(backRightModule.getRawAngle().getRadians()));
603+
System.out.println("FL: " + GRTUtil.twoDecimals(-frontLeftModule.getRawAngle().getRadians())
604+
+ " FR: " + GRTUtil.twoDecimals(-frontRightModule.getRawAngle().getRadians())
605+
+ " BL: " + GRTUtil.twoDecimals(-backLeftModule.getRawAngle().getRadians())
606+
+ " BR: " + GRTUtil.twoDecimals(-backRightModule.getRawAngle().getRadians()));
607607
}
608608

609609
/**

0 commit comments

Comments
 (0)