Class StateCoralL2

All Implemented Interfaces:
Sendable

public class StateCoralL2 extends SequentialCommandGroup
Command sequence for placing game pieces on Level 2. The sequence: 1. Moves elevator and wrist to L2 position simultaneously 2. Waits for release button confirmation 3. Runs eject through 4. Returns to stowed position
  • Constructor Details

    • StateCoralL2

      public StateCoralL2(ElevatorSubsystem elevatorSubsystem, WristSubsystem wristSubsystem, CoralIntakeSubsystem coralIntakeSubsystem, BlingSubsystem blingSubsystem, Trigger coralIntakeReleaseTrigger)
      Creates a new StateL2 command.
      Parameters:
      elevatorSubsystem - The elevator subsystem
      wristSubsystem - The wrist subsystem
      coralIntakeSubsystem - The coral intake subsystem
      blingSubsystem - The bling subsystem
      coralIntakeReleaseTrigger - The release button trigger