diff --git a/src/main/java/frc/lib/util/swerve/SwerveModule.java b/src/main/java/frc/lib/util/swerve/SwerveModule.java index 7c7087b..4d024a7 100644 --- a/src/main/java/frc/lib/util/swerve/SwerveModule.java +++ b/src/main/java/frc/lib/util/swerve/SwerveModule.java @@ -120,7 +120,7 @@ public SwerveModule(int moduleNumber, SwerveModuleConstants moduleConstants) { * Set the desired state of the Swerve Module * * @param desiredState The desired {@link SwerveModuleState} for the module - * @param isOpenLoop Whether the state should be open or closed loop controled + * @param isOpenLoop Whether the state should be open or closed loop controlled */ public void setDesiredState(SwerveModuleState desiredState, boolean isOpenLoop) { desiredState = SwerveModuleState.optimize(desiredState, getState().angle); @@ -132,7 +132,7 @@ public void setDesiredState(SwerveModuleState desiredState, boolean isOpenLoop) * Set the velocity or power of the drive motor * * @param desiredState The desired {@link SwerveModuleState} of the module - * @param isOpenLoop Whether the state should be open or closed loop controled + * @param isOpenLoop Whether the state should be open or closed loop controlled */ private void setSpeed(SwerveModuleState desiredState, boolean isOpenLoop) { if (isOpenLoop) { diff --git a/src/main/java/frc/robot/subsystems/Swerve.java b/src/main/java/frc/robot/subsystems/Swerve.java index a02621c..af80c8f 100644 --- a/src/main/java/frc/robot/subsystems/Swerve.java +++ b/src/main/java/frc/robot/subsystems/Swerve.java @@ -151,7 +151,7 @@ public void resetFieldRelativeOffset() { } /** - * Reset all modules to their fron facing position + * Reset all modules to their front facing position */ public void resetModulesToAbsolute() { for (SwerveModule mod : swerveMods) {