diff --git a/src/main/java/frc/lib/util/swerve/SwerveModule.java b/src/main/java/frc/lib/util/swerve/SwerveModule.java index 1395024b..ad96c387 100644 --- a/src/main/java/frc/lib/util/swerve/SwerveModule.java +++ b/src/main/java/frc/lib/util/swerve/SwerveModule.java @@ -168,7 +168,7 @@ public Rotation2d getCanCoder() { /** * Gets the Swerve module state * - * @return Swerve module state + * @return The current Swerve Module State {@link SwerveModuleState} */ public SwerveModuleState getState() { double velocity = Conversions.falconToMPS(driveMotor.getSelectedSensorVelocity(), diff --git a/src/main/java/frc/robot/subsystems/Swerve.java b/src/main/java/frc/robot/subsystems/Swerve.java index 13928d95..10b38f75 100644 --- a/src/main/java/frc/robot/subsystems/Swerve.java +++ b/src/main/java/frc/robot/subsystems/Swerve.java @@ -141,7 +141,7 @@ public Pose2d getPose() { /** * Get the current Swerve Module States * - * @return The current {@link SwerveModuleStates} + * @return An array of the current {@link SwerveModuleState} */ public SwerveModuleState[] getModuleStates() { SwerveModuleState[] states = new SwerveModuleState[swerveMods.length];