diff --git a/wpimath/src/main/java/edu/wpi/first/math/system/plant/LinearSystemId.java b/wpimath/src/main/java/edu/wpi/first/math/system/plant/LinearSystemId.java index d1c847d68f5..077a0da5f5b 100644 --- a/wpimath/src/main/java/edu/wpi/first/math/system/plant/LinearSystemId.java +++ b/wpimath/src/main/java/edu/wpi/first/math/system/plant/LinearSystemId.java @@ -351,7 +351,7 @@ public static LinearSystem createDCMotorSystem(double kV, double kA) * @throws IllegalArgumentException if JKgMetersSquared <= 0. */ public static LinearSystem createDCMotorTorqueSystem( - double JKgMetersSquared, double gearing) { + double JKgMetersSquared) { if (JKgMetersSquared <= 0.0) { throw new IllegalArgumentException("J must be greater than zero."); } @@ -373,8 +373,8 @@ public static LinearSystem createDCMotorTorqueSystem( * @throws IllegalArgumentException if J <= 0. */ public static LinearSystem createDCMotorTorqueSystem( - MomentOfInertia J, double gearing) { - return createDCMotorTorqueSystem(J.in(KilogramSquareMeters), gearing); + MomentOfInertia J) { + return createDCMotorTorqueSystem(J.in(KilogramSquareMeters)); } /** @@ -387,7 +387,7 @@ public static LinearSystem createDCMotorTorqueSystem( * @throws IllegalArgumentException if massKg <= 0, radiusMeters <= 0. */ public static LinearSystem createDCMotorTorqueSystem( - double massKg, double radiusMeters, double gearing) { + double massKg, double radiusMeters) { if (massKg <= 0.0) { throw new IllegalArgumentException("massKg must be greater than zero."); }