Skip to content

Commit a6f915b

Browse files
Merge pull request #178 from tfield/patch-1
Minor SwerveDrive.java javadoc correction
2 parents 8aaf39d + 7325c3a commit a6f915b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/swervelib/SwerveDrive.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -450,8 +450,8 @@ public void drive(
450450

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

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

0 commit comments

Comments
 (0)