From a6fa639cf712552307a794446c3cc5d31f2306d6 Mon Sep 17 00:00:00 2001 From: FRCTeam3255-Shared <170778697+FRCTeam3255-Shared-K1-10@users.noreply.github.com> Date: Sat, 30 May 2026 11:41:02 -0700 Subject: [PATCH 1/2] added PrepDepot, PrepOutpost, and PrepNonOutpost Co-Authored-By: Justinpham17386769 <244249272+Justinpham17386769@users.noreply.github.com> --- .../frc/robot/commands/states/PrepDepot.java | 32 +++++++++++++++++++ .../robot/commands/states/PrepNonOutpost.java | 32 +++++++++++++++++++ .../robot/commands/states/PrepOutpost.java | 32 +++++++++++++++++++ 3 files changed, 96 insertions(+) create mode 100644 src/main/java/frc/robot/commands/states/PrepDepot.java create mode 100644 src/main/java/frc/robot/commands/states/PrepNonOutpost.java create mode 100644 src/main/java/frc/robot/commands/states/PrepOutpost.java diff --git a/src/main/java/frc/robot/commands/states/PrepDepot.java b/src/main/java/frc/robot/commands/states/PrepDepot.java new file mode 100644 index 0000000..d795305 --- /dev/null +++ b/src/main/java/frc/robot/commands/states/PrepDepot.java @@ -0,0 +1,32 @@ +// Copyright (c) FIRST and other WPILib contributors. +// Open Source Software; you can modify and/or share it under the terms of +// the WPILib BSD license file in the root directory of this project. + +package frc.robot.commands.states; + +import edu.wpi.first.wpilibj2.command.Command; + +public class PrepDopt extends Command { + /** Creates a new PrepDopt. */ + public PrepDopt() { + // Use addRequirements() here to declare subsystem dependencies. + } + + // Called when the command is initially scheduled. + @Override + public void initialize() {} + + // Called every time the scheduler runs while the command is scheduled. + @Override + public void execute() {} + + // Called once the command ends or is interrupted. + @Override + public void end(boolean interrupted) {} + + // Returns true when the command should end. + @Override + public boolean isFinished() { + return false; + } +} diff --git a/src/main/java/frc/robot/commands/states/PrepNonOutpost.java b/src/main/java/frc/robot/commands/states/PrepNonOutpost.java new file mode 100644 index 0000000..c0626a2 --- /dev/null +++ b/src/main/java/frc/robot/commands/states/PrepNonOutpost.java @@ -0,0 +1,32 @@ +// Copyright (c) FIRST and other WPILib contributors. +// Open Source Software; you can modify and/or share it under the terms of +// the WPILib BSD license file in the root directory of this project. + +package frc.robot.commands.states; + +import edu.wpi.first.wpilibj2.command.Command; + +public class PrepNonOutpost extends Command { + /** Creates a new PrepNonOutpost. */ + public PrepNonOutpost() { + // Use addRequirements() here to declare subsystem dependencies. + } + + // Called when the command is initially scheduled. + @Override + public void initialize() {} + + // Called every time the scheduler runs while the command is scheduled. + @Override + public void execute() {} + + // Called once the command ends or is interrupted. + @Override + public void end(boolean interrupted) {} + + // Returns true when the command should end. + @Override + public boolean isFinished() { + return false; + } +} diff --git a/src/main/java/frc/robot/commands/states/PrepOutpost.java b/src/main/java/frc/robot/commands/states/PrepOutpost.java new file mode 100644 index 0000000..a1795ac --- /dev/null +++ b/src/main/java/frc/robot/commands/states/PrepOutpost.java @@ -0,0 +1,32 @@ +// Copyright (c) FIRST and other WPILib contributors. +// Open Source Software; you can modify and/or share it under the terms of +// the WPILib BSD license file in the root directory of this project. + +package frc.robot.commands.states; + +import edu.wpi.first.wpilibj2.command.Command; + +public class PrepOutpost extends Command { + /** Creates a new PrepOutpost. */ + public PrepOutpost() { + // Use addRequirements() here to declare subsystem dependencies. + } + + // Called when the command is initially scheduled. + @Override + public void initialize() {} + + // Called every time the scheduler runs while the command is scheduled. + @Override + public void execute() {} + + // Called once the command ends or is interrupted. + @Override + public void end(boolean interrupted) {} + + // Returns true when the command should end. + @Override + public boolean isFinished() { + return false; + } +} From 31e2379aa9eccc5d68314256b1a0ef0892f2d45a Mon Sep 17 00:00:00 2001 From: Krypton-10-FRCTeam3255-Shared Date: Sat, 30 May 2026 12:15:54 -0700 Subject: [PATCH 2/2] qf --- .../java/frc/robot/commands/states/PrepDepot.java | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/main/java/frc/robot/commands/states/PrepDepot.java b/src/main/java/frc/robot/commands/states/PrepDepot.java index d795305..7b3aa7c 100644 --- a/src/main/java/frc/robot/commands/states/PrepDepot.java +++ b/src/main/java/frc/robot/commands/states/PrepDepot.java @@ -6,23 +6,26 @@ import edu.wpi.first.wpilibj2.command.Command; -public class PrepDopt extends Command { - /** Creates a new PrepDopt. */ - public PrepDopt() { +public class PrepDepot extends Command { + /** Creates a new PrepDepot. */ + public PrepDepot() { // Use addRequirements() here to declare subsystem dependencies. } // Called when the command is initially scheduled. @Override - public void initialize() {} + public void initialize() { + } // Called every time the scheduler runs while the command is scheduled. @Override - public void execute() {} + public void execute() { + } // Called once the command ends or is interrupted. @Override - public void end(boolean interrupted) {} + public void end(boolean interrupted) { + } // Returns true when the command should end. @Override