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