mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[examples] Fix multiple doc typos in SwerveControllerCommand example (NFC) (#4044)
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user