Skip to content

Commit 90a6121

Browse files
committed
change autos
1 parent b8d9a1c commit 90a6121

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

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

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,12 +226,30 @@ private AutoCommandInterface getAutoCommand(int switchPos) {
226226
deadeye,
227227
ledSubsystem,
228228
"AmpInitial3_MiddleNote1_Part1",
229-
"AmpInitial3_MiddleNote2_Part2",
229+
"AmpInitial3_MiddleNote1_Part2",
230230
// "NonAmpShoot2_DroppedNote",
231231
AutonConstants.kAmpPathMatrix,
232232
List.of(1, 3, 2),
233233
4.0,
234234
AutonConstants.Setpoints.AS2);
235+
case 0x05:
236+
return new SmartAmpIgnoreWingAutoCommand(
237+
driveSubsystem,
238+
robotStateSubsystem,
239+
superStructure,
240+
magazineSubsystem,
241+
intakeSubsystem,
242+
elbowSubsystem,
243+
pathHandler,
244+
deadeye,
245+
ledSubsystem,
246+
"AmpInitial3_MiddleNote1_Part1",
247+
"AmpInitial3_MiddleNote2_Part2",
248+
// "NonAmpShoot2_DroppedNote",
249+
AutonConstants.kAmpPathMatrix,
250+
List.of(2, 3, 1),
251+
4.0,
252+
AutonConstants.Setpoints.AS2);
235253
case 0x10:
236254
return new AmpMid_5PieceCommand(
237255
driveSubsystem,

0 commit comments

Comments
 (0)