Skip to content

Commit

Permalink
Merge pull request #178 from tfield/patch-1
Browse files Browse the repository at this point in the history
Minor SwerveDrive.java javadoc correction
  • Loading branch information
thenetworkgrinch authored Feb 17, 2024
2 parents 8aaf39d + 7325c3a commit a6f915b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/swervelib/SwerveDrive.java
Original file line number Diff line number Diff line change
Expand Up @@ -450,8 +450,8 @@ public void drive(

/**
* The primary method for controlling the drivebase. Takes a {@link ChassisSpeeds}, and calculates and commands module
* states accordingly. Can use either open-loop or closed-loop velocity control for the wheel velocities. Also has
* field- and robot-relative modes, which affect how the translation vector is used.
* states accordingly. Can use either open-loop or closed-loop velocity control for the wheel velocities. Applies
* heading correction if enabled and necessary.
*
* @param velocity The chassis speeds to set the robot to achieve.
* @param isOpenLoop Whether to use closed-loop velocity control. Set to true to disable closed-loop.
Expand Down Expand Up @@ -547,7 +547,7 @@ public double getMaximumAngularVelocity()
}

/**
* Set the module states (azimuth and velocity) directly. Used primarily for auto pathing.
* Set the module states (azimuth and velocity) directly.
*
* @param desiredStates A list of SwerveModuleStates to send to the modules.
* @param isOpenLoop Whether to use closed-loop velocity control. Set to true to disable closed-loop.
Expand Down

0 comments on commit a6f915b

Please sign in to comment.