From b5ab8a4222ad4162dd764ecc70af2de7e2359944 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Thu, 15 Feb 2024 19:06:16 -0500 Subject: [PATCH] Remove unused folders/files --- images/.gitkeep | 0 src/main/deploy/.gitkeep | 3 --- .../com/stuypulse/robot/RobotContainer.java | 2 -- .../robot/commands/DoNothingCommand.java | 26 ------------------- .../robot/commands/auton/DoNothingAuton.java | 23 ---------------- .../com/stuypulse/robot/subsystems/.gitkeep | 0 .../java/com/stuypulse/robot/util/.gitkeep | 0 7 files changed, 54 deletions(-) delete mode 100644 images/.gitkeep delete mode 100644 src/main/deploy/.gitkeep delete mode 100644 src/main/java/com/stuypulse/robot/commands/DoNothingCommand.java delete mode 100644 src/main/java/com/stuypulse/robot/commands/auton/DoNothingAuton.java delete mode 100644 src/main/java/com/stuypulse/robot/subsystems/.gitkeep delete mode 100644 src/main/java/com/stuypulse/robot/util/.gitkeep diff --git a/images/.gitkeep b/images/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/src/main/deploy/.gitkeep b/src/main/deploy/.gitkeep deleted file mode 100644 index bb82515..0000000 --- a/src/main/deploy/.gitkeep +++ /dev/null @@ -1,3 +0,0 @@ -Files placed in this directory will be deployed to the RoboRIO into the -'deploy' directory in the home folder. Use the 'Filesystem.getDeployDirectory' wpilib function -to get a proper path relative to the deploy directory. \ No newline at end of file diff --git a/src/main/java/com/stuypulse/robot/RobotContainer.java b/src/main/java/com/stuypulse/robot/RobotContainer.java index 45f7e15..c2fc7b2 100644 --- a/src/main/java/com/stuypulse/robot/RobotContainer.java +++ b/src/main/java/com/stuypulse/robot/RobotContainer.java @@ -9,7 +9,6 @@ import com.stuypulse.stuylib.input.Gamepad; import com.stuypulse.stuylib.input.gamepads.AutoGamepad; -import com.stuypulse.robot.commands.auton.DoNothingAuton; import com.stuypulse.robot.constants.Ports; import com.stuypulse.robot.subsystems.AbstractSysID; @@ -55,7 +54,6 @@ private void configureButtonBindings() {} /**************/ public void configureAutons() { - autonChooser.setDefaultOption("Do Nothing", new DoNothingAuton()); autonChooser.addOption("Quasistatic Forward", sysid.quasistaticForward()); autonChooser.addOption("Quasistatic Reverse", sysid.quasistaticReverse()); autonChooser.addOption("Dynamic Forward", sysid.dynamicForward()); diff --git a/src/main/java/com/stuypulse/robot/commands/DoNothingCommand.java b/src/main/java/com/stuypulse/robot/commands/DoNothingCommand.java deleted file mode 100644 index 0a7b16b..0000000 --- a/src/main/java/com/stuypulse/robot/commands/DoNothingCommand.java +++ /dev/null @@ -1,26 +0,0 @@ -/************************ PROJECT SYSID ************************/ -/* Copyright (c) 2024 StuyPulse Robotics. All rights reserved. */ -/* Use of this source code is governed by an MIT-style license */ -/* that can be found in the repository LICENSE file. */ -/***************************************************************/ - -package com.stuypulse.robot.commands; - -import edu.wpi.first.wpilibj2.command.InstantCommand; - -/*- - * This command does a whole load of nothing... - * - * @author Ivan Chen - */ -public class DoNothingCommand extends InstantCommand { - - public DoNothingCommand() { - // Do loads of nothing - } - - @Override - public void initialize() { - // Do loads of nothing - } -} diff --git a/src/main/java/com/stuypulse/robot/commands/auton/DoNothingAuton.java b/src/main/java/com/stuypulse/robot/commands/auton/DoNothingAuton.java deleted file mode 100644 index bf7102b..0000000 --- a/src/main/java/com/stuypulse/robot/commands/auton/DoNothingAuton.java +++ /dev/null @@ -1,23 +0,0 @@ -/************************ PROJECT SYSID ************************/ -/* Copyright (c) 2024 StuyPulse Robotics. All rights reserved. */ -/* Use of this source code is governed by an MIT-style license */ -/* that can be found in the repository LICENSE file. */ -/***************************************************************/ - -package com.stuypulse.robot.commands.auton; - -import edu.wpi.first.wpilibj2.command.SequentialCommandGroup; - -/*- - * This auton does nothing... it is used as a placeholder - * - * @author Sam Belliveau - */ -public class DoNothingAuton extends SequentialCommandGroup { - - public DoNothingAuton() { - addCommands( - /** Do a whole lot of nothing */ - ); - } -} diff --git a/src/main/java/com/stuypulse/robot/subsystems/.gitkeep b/src/main/java/com/stuypulse/robot/subsystems/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/src/main/java/com/stuypulse/robot/util/.gitkeep b/src/main/java/com/stuypulse/robot/util/.gitkeep deleted file mode 100644 index e69de29..0000000