Skip to content

Commit 06c5fb8

Browse files
removed unused paths and commands
1 parent 5e96381 commit 06c5fb8

File tree

8 files changed

+5
-302
lines changed

8 files changed

+5
-302
lines changed

.pathplanner/settings.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55
"pathFolders": [
66
"Center Limelight 4 Piece"
77
],
8-
"autoFolders": [
9-
"Center Limelight 4 Piece"
10-
],
8+
"autoFolders": [],
119
"defaultMaxVel": 3.0,
1210
"defaultMaxAccel": 3.0,
1311
"defaultMaxAngVel": 540.0,

src/main/deploy/pathplanner/autos/Center Limelight 4 Piece 1.auto

Lines changed: 0 additions & 31 deletions
This file was deleted.

src/main/deploy/pathplanner/autos/Center Limelight 4 Piece 2.auto

Lines changed: 0 additions & 25 deletions
This file was deleted.

src/main/deploy/pathplanner/autos/Center Limelight 4 Piece 3.auto

Lines changed: 0 additions & 25 deletions
This file was deleted.

src/main/deploy/pathplanner/autos/Center Limelight 4 Piece Path Following.auto

Lines changed: 0 additions & 115 deletions
This file was deleted.

src/main/deploy/pathplanner/autos/Center Limelight 4 Piece.auto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,6 @@
104104
]
105105
}
106106
},
107-
"folder": "Center Limelight 4 Piece",
107+
"folder": null,
108108
"choreoAuto": false
109109
}

src/main/java/org/carlmontrobotics/RobotContainer.java

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,7 @@ public RobotContainer() {
140140
for (String n : autoNames) {
141141
autoSelector.addOption(n, i);
142142
i++;
143-
}
144-
autoSelector.addOption("bruh", i);
143+
}
145144

146145
ShuffleboardTab autoSelectorTab = Shuffleboard.getTab("Auto Chooser Tab");
147146
autoSelectorTab.add(autoSelector).withSize(2, 1);
@@ -382,12 +381,7 @@ private void registerAutoCommands() {
382381
new InstantCommand(intakeShooter::stopOuttake));
383382
NamedCommands.registerCommand("StopBoth",
384383
new ParallelCommandGroup(new InstantCommand(intakeShooter::stopIntake),
385-
new InstantCommand(intakeShooter::stopOuttake)));
386-
for (int i = 1; i <= 6; i++) {
387-
NamedCommands.registerCommand("Follow Center Limelight " + i,
388-
new AutonPathfind(drivetrain, "Center Limelight " + i));
389-
}
390-
384+
new InstantCommand(intakeShooter::stopOuttake)));
391385
}
392386

393387
private void setupAutos() {
@@ -405,17 +399,7 @@ private void setupAutos() {
405399
* PathPlannerAuto.getPathGroupFromAutoFile(name).get(0).getPreviewStartingHolonomicPose(),
406400
* Autoc.pathConstraints ), new PathPlannerAuto(name) );
407401
*/
408-
}
409-
String[] centerLimelight4 = {"Center Limelight 4 Piece 1",
410-
"Center Limelight 4 Piece 2", "Center Limelight 4 Piece 3"};
411-
SequentialCommandGroup commandGroup = new SequentialCommandGroup();
412-
for (int i = 0; i < 3; i++) {
413-
commandGroup.addCommands(new PathPlannerAuto(centerLimelight4[i]),
414-
new ParallelCommandGroup(new Intake(intakeShooter),
415-
new AutoMATICALLYGetNote(drivetrain, limelight,
416-
intakeShooter, -1)));
417-
}
418-
autoCommands.add(commandGroup);
402+
}
419403
}
420404

421405

src/main/java/org/carlmontrobotics/commands/AutonPathfind.java

Lines changed: 0 additions & 83 deletions
This file was deleted.

0 commit comments

Comments
 (0)