Skip to content

Commit

Permalink
fiux spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
legoguy1000 committed Jan 20, 2024
1 parent 2e4f015 commit 7b252c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/java/frc/lib/util/swerve/SwerveModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/subsystems/Swerve.java
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7b252c0

Please sign in to comment.