88import edu .wpi .first .wpilibj .smartdashboard .SmartDashboard ;
99import frc .robot .commands .auton .AutoCommandInterface ;
1010import frc .robot .commands .auton .DefaultAutonCommand ;
11- import frc .robot .commands .auton .NonProcessorMediumCycleAutonCommand ;
1211import frc .robot .commands .auton .NonProcessorShallowAutonCommand ;
1312import frc .robot .commands .auton .NonProcessorShallowSlowAutonCommand ;
1413import frc .robot .commands .auton .ProcessorShallowAutonCommand ;
@@ -270,7 +269,7 @@ private AutoCommandInterface getAutoCommand(int switchPos) {
270269 elevatorSubsystem ,
271270 tagAlignSubsystem ,
272271 visionSubsystem ,
273- "startToJSlow " ,
272+ "midStartToJSlow " ,
274273 new ArrayList <Character >(Arrays .asList ('k' , 'l' )),
275274 new ArrayList <ScoringLevel >(Arrays .asList (ScoringLevel .L4 , ScoringLevel .L4 )),
276275 new ArrayList <>(
@@ -284,30 +283,53 @@ private AutoCommandInterface getAutoCommand(int switchPos) {
284283 AutonConstants .kNonProcessorMid );
285284 }
286285
287- case 0x03 -> {
288- return new NonProcessorShallowSlowAutonCommand (
289- driveSubsystem ,
290- pathHandler ,
291- robotStateSubsystem ,
292- algaeSubsystem ,
293- biscuitSubsystem ,
294- coralSubsystem ,
295- elevatorSubsystem ,
296- tagAlignSubsystem ,
297- visionSubsystem ,
298- "startToJSlow" ,
299- new ArrayList <Character >(Arrays .asList ('k' , 'l' )),
300- new ArrayList <ScoringLevel >(Arrays .asList (ScoringLevel .L4 , ScoringLevel .L4 )),
301- new ArrayList <>(
302- Arrays .asList (
303- PathHandlerConstants .kLoadLightDistance ,
304- PathHandlerConstants .kLoadLightDistance ,
305- PathHandlerConstants .kLoadLightDistance )),
306- new ArrayList <>(Arrays .asList (-0.0175 , 0.0 , 0.0 )),
307- 'j' ,
308- true ,
309- AutonConstants .kNonProcessorMid );
310- }
286+ // case 0x03 -> {
287+ // return new NonProcessorShallowSlowAutonCommand(
288+ // driveSubsystem,
289+ // pathHandler,
290+ // robotStateSubsystem,
291+ // algaeSubsystem,
292+ // biscuitSubsystem,
293+ // coralSubsystem,
294+ // elevatorSubsystem,
295+ // tagAlignSubsystem,
296+ // visionSubsystem,
297+ // "startToJSlow",
298+ // new ArrayList<Character>(Arrays.asList('k', 'l')),
299+ // new ArrayList<ScoringLevel>(Arrays.asList(ScoringLevel.L4, ScoringLevel.L4)),
300+ // new ArrayList<>(
301+ // Arrays.asList(
302+ // PathHandlerConstants.kLoadLightDistance,
303+ // PathHandlerConstants.kLoadLightDistance,
304+ // PathHandlerConstants.kLoadLightDistance)),
305+ // new ArrayList<>(Arrays.asList(-0.0175, 0.0, 0.0)),
306+ // 'j',
307+ // true,
308+ // AutonConstants.kNonProcessorMid);
309+ // }
310+
311+ // case 0x04 -> {
312+ // return new NonProcessorMediumCycleAutonCommand(
313+ // driveSubsystem,
314+ // pathHandler,
315+ // robotStateSubsystem,
316+ // algaeSubsystem,
317+ // biscuitSubsystem,
318+ // coralSubsystem,
319+ // elevatorSubsystem,
320+ // tagAlignSubsystem,
321+ // visionSubsystem,
322+ // "midStartToJSlow",
323+ // new ArrayList<Character>(Arrays.asList('l', 'k')),
324+ // new ArrayList<ScoringLevel>(
325+ // Arrays.asList(ScoringLevel.L4, ScoringLevel.L4, ScoringLevel.L4)),
326+ // new ArrayList<>(Arrays.asList(0.0, 0.0, 0.0)),
327+ // new ArrayList<>(Arrays.asList(0.0, 0.0, 0.0)),
328+ // 'j',
329+ // false,
330+ // true,
331+ // AutonConstants.kNonProcessorMid);
332+ // }
311333
312334 case 0x20 -> {
313335 return new ProcessorShallowSlowAutonCommand (
@@ -380,29 +402,6 @@ private AutoCommandInterface getAutoCommand(int switchPos) {
380402 AutonConstants .kProcessorMid );
381403 }
382404
383- case 0x04 -> {
384- return new NonProcessorMediumCycleAutonCommand (
385- driveSubsystem ,
386- pathHandler ,
387- robotStateSubsystem ,
388- algaeSubsystem ,
389- biscuitSubsystem ,
390- coralSubsystem ,
391- elevatorSubsystem ,
392- tagAlignSubsystem ,
393- visionSubsystem ,
394- "midStartToJSlow" ,
395- new ArrayList <Character >(Arrays .asList ('l' , 'k' )),
396- new ArrayList <ScoringLevel >(
397- Arrays .asList (ScoringLevel .L4 , ScoringLevel .L4 , ScoringLevel .L4 )),
398- new ArrayList <>(Arrays .asList (0.0 , 0.0 , 0.0 )),
399- new ArrayList <>(Arrays .asList (0.0 , 0.0 , 0.0 )),
400- 'j' ,
401- false ,
402- true ,
403- AutonConstants .kNonProcessorMid );
404- }
405-
406405 default -> {
407406 String msg = String .format ("no auto command assigned for switch pos: %02X" , switchPos );
408407 DriverStation .reportWarning (msg , false );
0 commit comments