StateL2 Command
A command sequence that automates the process of placing game pieces at Level 2 scoring positions. This command coordinates multiple subsystems and uses a through-eject mechanism for more forceful piece placement.
Subsystem Requirements
Constructor Parameters
public StateL2(
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.L2_PLACEWristConstants.Setpoints.L2_PLACECoralIntakeConstants.Setpoints.OpenLoop.EJECT_PERCENTAGE
-
Default commands should be configured for all subsystems since the command uses proxy commands