Class PathUtil.AutonConfig

java.lang.Object
com.stuypulse.robot.util.PathUtil.AutonConfig
Enclosing class:
PathUtil

public static class PathUtil.AutonConfig extends Object
  • Constructor Details

    • AutonConfig

      public AutonConfig(String name, Function<com.pathplanner.lib.path.PathPlannerPath[],edu.wpi.first.wpilibj2.command.Command> auton, String... paths)
  • Method Details

    • register

      public PathUtil.AutonConfig register(edu.wpi.first.wpilibj.smartdashboard.SendableChooser<edu.wpi.first.wpilibj2.command.Command> chooser)
    • registerDefault

      public PathUtil.AutonConfig registerDefault(edu.wpi.first.wpilibj.smartdashboard.SendableChooser<edu.wpi.first.wpilibj2.command.Command> chooser)