Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
viggy96 committed Dec 18, 2024
1 parent 318236d commit d65ec03
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,8 @@ public CTRESwerveModule(Hardware swerveHardware,
* Initialize hardware devices for MAXSwerve module
* @param driveMotorID Drive motor ID
* @param rotateMotorID Rotate motor ID
* @param driveMotorKind Kind of drive motor
* @param canCoderID CANCoder ID
* @return Hardware object containing all necessary objects for a MAXSwerve module
* @throws IllegalArgumentException If specified drive motor is not supported
*/
public static Hardware initializeHardware(TalonFX.ID driveMotorID,
TalonFX.ID rotateMotorID,
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/org/lasarobotics/hardware/PurpleManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,7 @@ private static void monitorHealth() {
* @param gitSHA Git SHA
* @param buildDate Build date string
* @param batteryTrackingEnabled True to enable battery tracking
* @param signalLoggingEnabled True to enable signal logging (Recommended to only enable this temporarily while characterizing mechanisms)
*/
@SuppressWarnings("resource")
public static void initialize(LoggedRobot robot,
AprilTagFieldLayout fieldLayout,
Path logPath,
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/lasarobotics/hardware/ctre/Pigeon2.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ public static class Pigeon2Inputs {
* <p>
* Input thread period of {@value Pigeon2#DEFAULT_THREAD_PERIOD} ms
* @param id Pigeon 2.0 ID
* @param inputThreadPeriod Execution period of getting inputs from Pigeon
*/
public Pigeon2(ID id) {
this(id, Units.Milliseconds.of(DEFAULT_THREAD_PERIOD));
Expand Down

0 comments on commit d65ec03

Please sign in to comment.