@@ -40,7 +40,7 @@ public MAXSwerveModule(int drivingCANId, int turningCANId, double chassisAngular
4040 m_drivingSparkMax = new CANSparkMax (drivingCANId , MotorType .kBrushless );
4141 m_turningSparkMax = new CANSparkMax (turningCANId , MotorType .kBrushless );
4242
43- // Factory reset so we get the SPARKS MAX to a known state before configuring
43+ // Factory reset, so we get the SPARKS MAX to a known state before configuring
4444 // them. This is useful in case a SPARK MAX is swapped out.
4545 m_drivingSparkMax .restoreFactoryDefaults ();
4646 m_turningSparkMax .restoreFactoryDefaults ();
@@ -77,7 +77,7 @@ public MAXSwerveModule(int drivingCANId, int turningCANId, double chassisAngular
7777 m_turningPIDController .setPositionPIDWrappingMinInput (ModuleConstants .kTurningEncoderPositionPIDMinInput );
7878 m_turningPIDController .setPositionPIDWrappingMaxInput (ModuleConstants .kTurningEncoderPositionPIDMaxInput );
7979
80- // Set the PID gains for the driving motor. Note these are example gains and you
80+ // Set the PID gains for the driving motor. Note these are example gains, and you
8181 // may need to tune them for your own robot!
8282 m_drivingPIDController .setP (ModuleConstants .kDrivingP );
8383 m_drivingPIDController .setI (ModuleConstants .kDrivingI );
@@ -86,7 +86,7 @@ public MAXSwerveModule(int drivingCANId, int turningCANId, double chassisAngular
8686 m_drivingPIDController .setOutputRange (ModuleConstants .kDrivingMinOutput ,
8787 ModuleConstants .kDrivingMaxOutput );
8888
89- // Set the PID gains for the turning motor. Note these are example gains and you
89+ // Set the PID gains for the turning motor. Note these are example gains, and you
9090 // may need to tune them for your own robot!
9191 m_turningPIDController .setP (ModuleConstants .kTurningP );
9292 m_turningPIDController .setI (ModuleConstants .kTurningI );
0 commit comments