Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
rachitkakkar committed Mar 28, 2024
1 parent 385e7f3 commit 09b601e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/lasarobotics/drive/MAXSwerveModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -356,14 +356,14 @@ public void simulationPeriodic() {
}

/**
* Call method when disabled to set motors to brake mode
* Call method during initialization of disabled mode to set drive motor to brake mode
*/
public void disabledInit() {
m_driveMotor.setIdleMode(IdleMode.kBrake);
}

/**
* Call method when disabled to set motors to coast mode
* Call method when exiting disabled mode to set drive motor to coast mode
*/
public void disabledExit() {
m_driveMotor.setIdleMode(IdleMode.kCoast);
Expand Down

0 comments on commit 09b601e

Please sign in to comment.