Class CommandFactory.Auto

java.lang.Object
frc.robot.commands.CommandFactory.Auto
Enclosing class:
CommandFactory

public class CommandFactory.Auto extends Object
Command Factory for Auto Specific Commands
  • Constructor Details

    • Auto

      public Auto()
  • Method Details

    • runIndexer

      public static Command runIndexer(Intake intake)
      Command to run the indexer to shoot a note until .25 seconds after the beam brake is no longer broken
      Parameters:
      intake - Intake Subsystem
      Returns:
      Command
    • runIndexer

      public static Command runIndexer(Intake intake, Shooter shooter)
      Command to run the indexer to shoot a note until .25 seconds after the beam brake is no longer broken
      Parameters:
      intake - Intake Subsystem
      Returns:
      Command
    • waitForIntake

      public static Command waitForIntake(Intake intake)
      Command to wait for Intake beam brake is tripped
      Parameters:
      intake - Intake Subsystem
      Returns:
      Command