File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,8 +76,8 @@ public static final class ModuleConstants {
7676 public static final double kDrivingMotorReduction = 990 / (kMotorPinionTeeth * 15 );
7777 public static final double kWheelDiameterMeters = 0.0762 ;
7878 public static final double kWheelCircumferenceMeters = kWheelDiameterMeters * Math .PI ;
79- public static final double kDriveTrainFreeSpeedRps = (kDrivingMotorFreeSpeedRps * kWheelCircumferenceMeters )
80- / kDrivingMotorReduction ; // calculated from the motor free speed
79+ public static final double kDriveWheelFreeSpeedRps = (kDrivingMotorFreeSpeedRps * kWheelCircumferenceMeters )
80+ / kDrivingMotorReduction ;
8181
8282 public static final double kDrivingEncoderPositionFactor = (kWheelDiameterMeters * Math .PI )
8383 / kDrivingMotorReduction ; // meters
@@ -93,7 +93,7 @@ public static final class ModuleConstants {
9393 public static final double kDrivingP = 0.04 ;
9494 public static final double kDrivingI = 0 ;
9595 public static final double kDrivingD = 0 ;
96- public static final double kDrivingFF = 1 / kDriveTrainFreeSpeedRps ;
96+ public static final double kDrivingFF = 1 / kDriveWheelFreeSpeedRps ;
9797 public static final double kDrivingMinOutput = -1 ;
9898 public static final double kDrivingMaxOutput = 1 ;
9999
You can’t perform that action at this time.
0 commit comments