[examples] Fix multiple doc typos in SwerveControllerCommand example (NFC) (#4044)

This commit is contained in:
Leonard Abbas
2022-02-21 09:26:20 -08:00
committed by GitHub
parent 4bd1f526ab
commit 18e262a100
2 changed files with 2 additions and 2 deletions

View File

@@ -105,7 +105,7 @@ public final class Constants {
public static final double kPYController = 1;
public static final double kPThetaController = 1;
// Constraint for the motion profilied robot angle controller
// Constraint for the motion profiled robot angle controller
public static final TrapezoidProfile.Constraints kThetaControllerConstraints =
new TrapezoidProfile.Constraints(
kMaxAngularSpeedRadiansPerSecond, kMaxAngularSpeedRadiansPerSecondSquared);

View File

@@ -106,7 +106,7 @@ public class SwerveModule {
m_turningMotor.set(turnOutput);
}
/** Zeros all the SwerveModule encoders. */
/** Zeroes all the SwerveModule encoders. */
public void resetEncoders() {
m_driveEncoder.reset();
m_turningEncoder.reset();