File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public static final class ModuleConstants {
6565 // The MAXSwerve module can be configured with one of three pinion gears: 12T, 13T, or 14T.
6666 // This changes the drive speed of the module (a pinion gear with more teeth will result in a
6767 // robot that drives faster).
68- public static final int kMotorPinionTeeth = 14 ;
68+ public static final int kDrivingMotorPinionTeeth = 14 ;
6969
7070 // Invert the turning encoder, since the output shaft rotates in the opposite direction of
7171 // the steering motor in the MAXSwerve Module.
@@ -76,7 +76,7 @@ public static final class ModuleConstants {
7676 public static final double kWheelDiameterMeters = 0.0762 ;
7777 public static final double kWheelCircumferenceMeters = kWheelDiameterMeters * Math .PI ;
7878 // 45 teeth on the wheel's bevel gear, 22 teeth on the first-stage spur gear, 15 teeth on the bevel pinion
79- public static final double kDrivingMotorReduction = (45.0 * 22 ) / (kMotorPinionTeeth * 15 );
79+ public static final double kDrivingMotorReduction = (45.0 * 22 ) / (kDrivingMotorPinionTeeth * 15 );
8080 public static final double kDriveWheelFreeSpeedRps = (kDrivingMotorFreeSpeedRps * kWheelCircumferenceMeters )
8181 / kDrivingMotorReduction ;
8282
You can’t perform that action at this time.
0 commit comments