StateCoralStation Command
A command sequence that automates the process of intaking game pieces from the coral station loading zone. This command coordinates the movement of multiple subsystems to perform the intake operation safely and efficiently.
Subsystem Requirements
Constructor Parameters
public StateCoralStation(
ElevatorSubsystem elevatorSubsystem,
WristSubsystem wristSubsystem,
CoralIntakeSubsystem coralIntakeSubsystem)
elevatorSubsystem
: Controls vertical movement of the mechanismwristSubsystem
: Controls angular position of the intakecoralIntakeSubsystem
: Controls the intake rollers
Configuration Requirements
-
All subsystems must have proper setpoints defined in their respective Constants files:
ElevatorConstants.Setpoints.CORAL_STATION
WristConstants.Setpoints.CORAL_STATION
CoralIntakeConstants.Setpoints.OpenLoop.INTAKE_PERCENTAGE
-
Default commands should be configured for all subsystems since the command uses proxy commands