StateL1 Command
A command sequence that automates the process of placing game pieces at Level 1 scoring positions. This command coordinates multiple subsystems to achieve precise positioning and controlled release of game pieces.
Subsystem Requirements
Constructor Parameters
public StateL1(
ElevatorSubsystem elevatorSubsystem,
WristSubsystem wristSubsystem,
CoralIntakeSubsystem coralIntakeSubsystem,
Trigger coralIntakeReleaseTrigger)
elevatorSubsystem
: Controls vertical movement of the mechanismwristSubsystem
: Controls angular position of the intakecoralIntakeSubsystem
: Controls the intake rollerscoralIntakeReleaseTrigger
: Button trigger that initiates piece release
Configuration Requirements
-
All subsystems must have proper setpoints defined in their respective Constants files:
ElevatorConstants.Setpoints.L1_PLACE
WristConstants.Setpoints.L1_PLACE
CoralIntakeConstants.Setpoints.OpenLoop.EJECT_PERCENTAGE
-
Default commands should be configured for all subsystems since the command uses proxy commands