Skip to content

Commit b8d9a1c

Browse files
committed
fix command
1 parent a5c7959 commit b8d9a1c

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

src/main/java/frc/robot/commands/auton/FallBack4PieceCommand.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,17 @@ public FallBack4PieceCommand(
8484
// new WaitCommand(0.05),
8585
new AutoWaitNoteStagedCommand(robotStateSubsystem),
8686
new SubWooferCommand(robotStateSubsystem, superStructure, magazineSubsystem),
87+
midInitWingNote1,
88+
wingNote1MidInit,
8789
new ParallelCommandGroup(
88-
midInitWingNote1,
89-
wingNote1MidInit,
9090
// new WaitCommand(0.05),
9191
new SequentialCommandGroup(
9292
new AutoWaitNoteStagedCommand(robotStateSubsystem),
9393
new SpinUpWheelsCommand(
9494
superStructure,
9595
SuperStructureConstants.kShooterSubwooferSetPoint,
96-
SuperStructureConstants.kShooterSubwooferSetPoint)),
97-
new SubWooferCommand(robotStateSubsystem, superStructure, magazineSubsystem)));
96+
SuperStructureConstants.kShooterSubwooferSetPoint))),
97+
new SubWooferCommand(robotStateSubsystem, superStructure, magazineSubsystem));
9898
}
9999

100100
public void generateTrajectory() {

src/main/java/frc/robot/subsystems/auto/AutoSwitch.java

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,16 @@ private AutoCommandInterface getAutoCommand(int switchPos) {
270270
elbowSubsystem,
271271
deadeye,
272272
ledSubsystem);
273-
case 0x14:
274-
return new FallBack4PieceCommand(driveSubsystem, robotStateSubsystem, superStructure, magazineSubsystem, intakeSubsystem, elbowSubsystem, deadeye, ledSubsystem);
273+
case 0x14:
274+
return new FallBack4PieceCommand(
275+
driveSubsystem,
276+
robotStateSubsystem,
277+
superStructure,
278+
magazineSubsystem,
279+
intakeSubsystem,
280+
elbowSubsystem,
281+
deadeye,
282+
ledSubsystem);
275283
case 0x20:
276284
return new NonAmpAutoCommand(
277285
driveSubsystem,

0 commit comments

Comments
 (0)