From 630ad976f4dedec5d9de5914dc5ff18844e7f05e Mon Sep 17 00:00:00 2001 From: T Grinch <10247070+thenetworkgrinch@users.noreply.github.com> Date: Wed, 12 Jun 2024 15:25:07 -0500 Subject: [PATCH] Added docs to SwerveDrive.setChassisDiscretization Signed-off-by: thenetworkgrinch --- src/main/java/swervelib/SwerveDrive.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/swervelib/SwerveDrive.java b/src/main/java/swervelib/SwerveDrive.java index 1745f2cc..a1bd59c2 100644 --- a/src/main/java/swervelib/SwerveDrive.java +++ b/src/main/java/swervelib/SwerveDrive.java @@ -1175,8 +1175,8 @@ public void setCosineCompensator(boolean enabled) /** * Sets the Chassis discretization seconds as well as enableing/disabling the Chassis velocity correction * - * @param enable - * @param dtSeconds + * @param enable Enable chassis velocity correction, which will use {@link ChassisSpeeds#discretize(ChassisSpeeds, double)} with the following. + * @param dtSeconds The duration of the timestep the speeds should be applied for. */ public void setChassisDiscretization(boolean enable, double dtSeconds){ chassisVelocityCorrection = enable;