From f87e39b5941ea7fb778725464fb29ff49e7afd4f Mon Sep 17 00:00:00 2001 From: aarav18 Date: Wed, 22 Mar 2023 20:01:50 -0600 Subject: [PATCH] riolog print cleanup --- src/main/java/frc4388/robot/RobotContainer.java | 1 - .../commands/Placement/DriveToLimeDistance.java | 1 - .../robot/commands/Placement/LimeAlign.java | 1 - .../robot/commands/Swerve/JoystickPlayback.java | 1 - .../robot/commands/Swerve/JoystickRecorder.java | 1 - .../frc4388/robot/subsystems/SwerveDrive.java | 15 --------------- 6 files changed, 20 deletions(-) diff --git a/src/main/java/frc4388/robot/RobotContainer.java b/src/main/java/frc4388/robot/RobotContainer.java index d1d10a3..cf4b585 100644 --- a/src/main/java/frc4388/robot/RobotContainer.java +++ b/src/main/java/frc4388/robot/RobotContainer.java @@ -128,7 +128,6 @@ public class RobotContainer { // TODO: find actual values private SequentialCommandGroup placeCubeHigh = new SequentialCommandGroup( - // new InstantCommand(() -> System.out.println("Placing cone high")), new PivotCommand(m_robotArm, 64 + 135), new InstantCommand(() -> m_robotArm.setRotVel(0)), new TeleCommand(m_robotArm, 95642), diff --git a/src/main/java/frc4388/robot/commands/Placement/DriveToLimeDistance.java b/src/main/java/frc4388/robot/commands/Placement/DriveToLimeDistance.java index e79cffc..d50029a 100644 --- a/src/main/java/frc4388/robot/commands/Placement/DriveToLimeDistance.java +++ b/src/main/java/frc4388/robot/commands/Placement/DriveToLimeDistance.java @@ -38,7 +38,6 @@ public class DriveToLimeDistance extends PelvicInflammatoryDisease { @Override public void runWithOutput(double output) { - System.out.println(output / Math.abs(getError())); drive.driveWithInput(new Translation2d(0.0, output / Math.abs(getError())), new Translation2d(0.0, 0.0), true); } } diff --git a/src/main/java/frc4388/robot/commands/Placement/LimeAlign.java b/src/main/java/frc4388/robot/commands/Placement/LimeAlign.java index 5b2e87f..fa4d8e0 100644 --- a/src/main/java/frc4388/robot/commands/Placement/LimeAlign.java +++ b/src/main/java/frc4388/robot/commands/Placement/LimeAlign.java @@ -34,7 +34,6 @@ public class LimeAlign extends PelvicInflammatoryDisease { double err = 0.0; try { - System.out.println(ds.getAsDouble()); err = ds.getAsDouble() / (VisionConstants.H_FOV / 2); } catch (NullPointerException ex) {} diff --git a/src/main/java/frc4388/robot/commands/Swerve/JoystickPlayback.java b/src/main/java/frc4388/robot/commands/Swerve/JoystickPlayback.java index 56e8d43..95489e7 100644 --- a/src/main/java/frc4388/robot/commands/Swerve/JoystickPlayback.java +++ b/src/main/java/frc4388/robot/commands/Swerve/JoystickPlayback.java @@ -60,7 +60,6 @@ public class JoystickPlayback extends CommandBase { } String[] values = line.split(","); - System.out.println("values: " + values[0] + " " + values[1] + " " + values[2] + " " + values[3]); var out = new TimedOutput(); out.leftX = Double.parseDouble(values[0]) * mult; diff --git a/src/main/java/frc4388/robot/commands/Swerve/JoystickRecorder.java b/src/main/java/frc4388/robot/commands/Swerve/JoystickRecorder.java index 84608cc..13a75c7 100644 --- a/src/main/java/frc4388/robot/commands/Swerve/JoystickRecorder.java +++ b/src/main/java/frc4388/robot/commands/Swerve/JoystickRecorder.java @@ -68,7 +68,6 @@ public class JoystickRecorder extends CommandBase { new Translation2d(inputs.rightX, inputs.rightY), true); - System.out.println("RECORDING"); } // Called once the command ends or is interrupted. diff --git a/src/main/java/frc4388/robot/subsystems/SwerveDrive.java b/src/main/java/frc4388/robot/subsystems/SwerveDrive.java index 69e3818..da3c8d1 100644 --- a/src/main/java/frc4388/robot/subsystems/SwerveDrive.java +++ b/src/main/java/frc4388/robot/subsystems/SwerveDrive.java @@ -143,29 +143,14 @@ public class SwerveDrive extends SubsystemBase { public void setToSlow() { this.speedAdjust = SwerveDriveConstants.SLOW_SPEED; - System.out.println("SLOW"); - System.out.println("SLOW"); - System.out.println("SLOW"); - System.out.println("SLOW"); - System.out.println("SLOW"); } public void setToFast() { this.speedAdjust = SwerveDriveConstants.FAST_SPEED; - System.out.println("FAST"); - System.out.println("FAST"); - System.out.println("FAST"); - System.out.println("FAST"); - System.out.println("FAST"); } public void setToTurbo() { this.speedAdjust = SwerveDriveConstants.TURBO_SPEED; - System.out.println("TURBO"); - System.out.println("TURBO"); - System.out.println("TURBO"); - System.out.println("TURBO"); - System.out.println("TURBO"); } public void shiftUp() {