From 0a77ac5ce34ecb8f3863d4fc77f1cb9360f51787 Mon Sep 17 00:00:00 2001 From: Actions Bot Date: Thu, 5 Dec 2024 17:37:50 +0000 Subject: [PATCH] Automated Spotless Apply --- src/main/java/frc/robot/commands/Auto.java | 11 ++++------- .../java/frc/robot/commands/PneumaticCommands.java | 4 ++-- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/main/java/frc/robot/commands/Auto.java b/src/main/java/frc/robot/commands/Auto.java index 308acc8..b48ed4e 100644 --- a/src/main/java/frc/robot/commands/Auto.java +++ b/src/main/java/frc/robot/commands/Auto.java @@ -6,7 +6,6 @@ import edu.wpi.first.wpilibj2.command.SequentialCommandGroup; import edu.wpi.first.wpilibj2.command.WaitCommand; import frc.robot.RobotContainer; -import frc.robot.subsystems.CANDrivetrain; // import frc.robot.subsystems.CANDrivetrain; @@ -15,12 +14,10 @@ public final class Auto { public static Command exampleAuto() { /** * RunCommand is a helper class that creates a command from a single method, in - * this case we - * pass it the arcadeDrive method to drive straight back at half power. We - * modify that command - * with the .withTimeout(1) decorator to timeout after 1 second, and use the - * .andThen decorator - * to stop the drivetrain after the first command times out + * this case we pass it the arcadeDrive method to drive straight back at half + * power. We modify that command with the .withTimeout(1) decorator to timeout + * after 1 second, and use the .andThen decorator to stop the drivetrain after + * the first command times out */ return new SequentialCommandGroup(PneumaticCommands.pistonExtend(), new WaitCommand(2), new RunCommand(() -> RobotContainer.m_drivetrain.arcadeDrive(-.5, 0), RobotContainer.m_drivetrain) diff --git a/src/main/java/frc/robot/commands/PneumaticCommands.java b/src/main/java/frc/robot/commands/PneumaticCommands.java index 4d6b225..03b5a06 100644 --- a/src/main/java/frc/robot/commands/PneumaticCommands.java +++ b/src/main/java/frc/robot/commands/PneumaticCommands.java @@ -21,6 +21,6 @@ public static Command solenoidToggle() { return new InstantCommand(() -> RobotContainer.m_piston.toggleSolenoid()); } - public class pistonExtend { - } + public class pistonExtend { + } }