@@ -145,7 +145,7 @@ public static final class Mod0 {
145145 public static final int angleMotorID = 1 ;
146146 public static final int canCoderID = 0 ;
147147 public static final String canBusID = swerveCanBus ;
148- public static final Rotation2d angleOffset = Rotation2d .fromDegrees (isRocky ? -138.33 : 33.9 + 180.0 );
148+ public static final Rotation2d angleOffset = Rotation2d .fromDegrees (isRocky ? -143.3 : 33.9 + 180.0 );
149149 public static final SwerveModuleConstants constants =
150150 new SwerveModuleConstants (driveMotorID , angleMotorID , canCoderID , canBusID , angleOffset );
151151 }
@@ -156,7 +156,7 @@ public static final class Mod1 {
156156 public static final int angleMotorID = 19 ;
157157 public static final int canCoderID = 1 ;
158158 public static final String canBusID = swerveCanBus ;
159- public static final Rotation2d angleOffset = Rotation2d .fromDegrees (isRocky ? 148.00 : -72.2 + 180.0 );
159+ public static final Rotation2d angleOffset = Rotation2d .fromDegrees (isRocky ? 148.40 : -72.2 + 180.0 );
160160 public static final SwerveModuleConstants constants =
161161 new SwerveModuleConstants (driveMotorID , angleMotorID , canCoderID , canBusID , angleOffset );
162162 }
@@ -167,7 +167,7 @@ public static final class Mod2 {
167167 public static final int angleMotorID = 9 ;
168168 public static final int canCoderID = 2 ;
169169 public static final String canBusID = swerveCanBus ;
170- public static final Rotation2d angleOffset = Rotation2d .fromDegrees (isRocky ? 61.61 : 162.6 + 180.0 );
170+ public static final Rotation2d angleOffset = Rotation2d .fromDegrees (isRocky ? - 39.4 : 162.6 + 180.0 );
171171 public static final SwerveModuleConstants constants =
172172 new SwerveModuleConstants (driveMotorID , angleMotorID , canCoderID , canBusID , angleOffset );
173173 }
@@ -178,7 +178,7 @@ public static final class Mod3 {
178178 public static final int angleMotorID = 11 ;
179179 public static final int canCoderID = 3 ;
180180 public static final String canBusID = swerveCanBus ;
181- public static final Rotation2d angleOffset = Rotation2d .fromDegrees (isRocky ? -27.24 : -25.4 + 180.0 );
181+ public static final Rotation2d angleOffset = Rotation2d .fromDegrees (isRocky ? -23.9 : -25.4 + 180.0 );
182182 public static final SwerveModuleConstants constants =
183183 new SwerveModuleConstants (driveMotorID , angleMotorID , canCoderID , canBusID , angleOffset );
184184 }
0 commit comments