Package frc.robot.commands
Class CommandFactory.Auto
java.lang.Object
frc.robot.commands.CommandFactory.Auto
- Enclosing class:
- CommandFactory
Command Factory for Auto Specific Commands
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Command
runIndexer
(Intake intake) Command to run the indexer to shoot a note until .25 seconds after the beam brake is no longer brokenstatic 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 brokenstatic Command
waitForIntake
(Intake intake) Command to wait for Intake beam brake is tripped
-
Constructor Details
-
Auto
public Auto()
-
-
Method Details
-
runIndexer
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
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
Command to wait for Intake beam brake is tripped- Parameters:
intake
- Intake Subsystem- Returns:
- Command
-