From 412d8f7e844edc194d24758eb258030f8b04e4df Mon Sep 17 00:00:00 2001 From: Nicholas Armstrong Date: Fri, 5 Apr 2024 11:22:24 -0400 Subject: [PATCH] documentation fixes --- .../main/java/edu/wpi/first/wpilibj/simulation/DCMotorSim.java | 3 +-- .../java/edu/wpi/first/wpilibj/simulation/FlywheelSim.java | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/wpilibj/src/main/java/edu/wpi/first/wpilibj/simulation/DCMotorSim.java b/wpilibj/src/main/java/edu/wpi/first/wpilibj/simulation/DCMotorSim.java index c2a08d17e5c..f388ff89e8b 100644 --- a/wpilibj/src/main/java/edu/wpi/first/wpilibj/simulation/DCMotorSim.java +++ b/wpilibj/src/main/java/edu/wpi/first/wpilibj/simulation/DCMotorSim.java @@ -4,7 +4,6 @@ package edu.wpi.first.wpilibj.simulation; -import edu.wpi.first.math.Matrix; import edu.wpi.first.math.VecBuilder; import edu.wpi.first.math.numbers.N1; import edu.wpi.first.math.numbers.N2; @@ -47,7 +46,7 @@ public DCMotorSim( * @param gearbox The type of and number of motors in the DC motor gearbox. * @param gearing The gearing of the DC motor (numbers greater than 1 represent reductions). * @param jKgMetersSquared The moment of inertia of the DC motor. If this is unknown, use the - * {@link #DCMotorSim(LinearSystem, DCMotor, double, Matrix)} constructor. + * {@link #DCMotorSim(LinearSystem, DCMotor, double, double...)} constructor. * @param measurementStdDevs The standard deviations of the measurements. Can be omitted if no * noise is desired. If present must have 2 elements. The first element is for position. The * second element is for velocity. diff --git a/wpilibj/src/main/java/edu/wpi/first/wpilibj/simulation/FlywheelSim.java b/wpilibj/src/main/java/edu/wpi/first/wpilibj/simulation/FlywheelSim.java index 23272ba1cdc..0fda7f6b31a 100644 --- a/wpilibj/src/main/java/edu/wpi/first/wpilibj/simulation/FlywheelSim.java +++ b/wpilibj/src/main/java/edu/wpi/first/wpilibj/simulation/FlywheelSim.java @@ -4,7 +4,6 @@ package edu.wpi.first.wpilibj.simulation; -import edu.wpi.first.math.Matrix; import edu.wpi.first.math.VecBuilder; import edu.wpi.first.math.numbers.N1; import edu.wpi.first.math.system.LinearSystem; @@ -45,7 +44,7 @@ public FlywheelSim( * @param gearbox The type of and number of motors in the flywheel gearbox. * @param gearing The gearing of the flywheel (numbers greater than 1 represent reductions). * @param jKgMetersSquared The moment of inertia of the flywheel. If this is unknown, use the - * {@link #FlywheelSim(LinearSystem, DCMotor, double, Matrix)} constructor. + * {@link #FlywheelSim(LinearSystem, DCMotor, double, double...)} constructor. * @param measurementStdDevs The standard deviations of the measurements. Can be omitted if no * noise is desired. If present must have 1 element for velocity. */