]> git.taranathan.com Git - FRC2026.git/commitdiff
Merge branch 'auto-paths&chooser(for-week5)' into auto-but-good-now
authoriefomit <timofei.stem@gmail.com>
Sun, 29 Mar 2026 01:16:31 +0000 (18:16 -0700)
committeriefomit <timofei.stem@gmail.com>
Sun, 29 Mar 2026 01:16:31 +0000 (18:16 -0700)
1  2 
src/main/java/frc/robot/RobotContainer.java

index f509b70d02a44dd8285b155df5b9a67770430a18,dcfb0ae40c0adb1bec3ff0acbabad14accbef536..57992defeadbeaa36303a1a3362cb213f3cebefa
@@@ -23,7 -25,7 +23,6 @@@ import frc.robot.commands.LogCommand
  import frc.robot.commands.drive_comm.DefaultDriveCommand;
  import frc.robot.commands.gpm.AutoShootCommand;
  import frc.robot.commands.gpm.ClimbDriveCommand;
- // import frc.robot.commands.gpm.HardstopWarning;
 -import frc.robot.commands.gpm.HardstopWarning;
  import frc.robot.commands.gpm.IntakeMovementCommand;
  import frc.robot.commands.gpm.RunSpindexer;
  import frc.robot.commands.gpm.Superstructure;
@@@ -261,17 -260,27 +260,24 @@@ public class RobotContainer 
     */
    public void autoChooserInit() {
      // add the options to the Chooser
 -    // autoChooser.setDefaultOption("Do nothing", new DoNothing());
 -    // autoChooser.addOption("Do nada", new DoNothing());
 -    // autoChooser.addOption("Spin my wheels", new DoNothing());
 -    // autoChooser.addOption("Hello world", new InstantCommand(() -> System.out.println("Hello world")));
 -
 -    String defaultAuto = "Test default auto";
 +    String defaultAuto = "Trial Auto Path";
      String leftSideAuto = "Left Week V1";
 -    String rightSideAuto = "Right Week V1";      
 +    String rightSideAuto = "Right Week V1";
      String shootOnlyAuto = "Shoot Only Left Week V1";
 +    String koushaDouble = "Kousha Double";
+     String velocityTest = "Velocity TEST";
+     String jame = "Jame's Square path";
  
      autoChooser.setDefaultOption("Default", new PathPlannerAuto(defaultAuto));
      addAuto(leftSideAuto);
      addAuto(rightSideAuto);
      addAuto(shootOnlyAuto);
 +    addAuto(koushaDouble);
+     addAuto(velocityTest);
+     addAuto(jame);
+     // put the Chooser on the SmartDashboard
+     SmartDashboard.putData("Auto chooser", autoChooser);
    }
  
    public static BooleanSupplier getAllianceColorBooleanSupplier() {