Class SequentialWristElevatorRun

All Implemented Interfaces:
Sendable

public class SequentialWristElevatorRun extends SequentialCommandGroup
  • Constructor Details

    • SequentialWristElevatorRun

      public SequentialWristElevatorRun(WristSubsystem wristSubsystem, ElevatorSubsystem elevatorSubsystem, Distance elevatorHeight, Angle wristAngle)
      Creates a new SequentialWristElevatorRun command group that moves both the elevator and wrist to specified positions one after the other. Runs the wrist first, then the elevator. Proxies the commands to cede back to default command after runtime automatically.
      Parameters:
      wristSubsystem - The wrist subsystem
      elevatorSubsystem - The elevator subsystem
      elevatorHeight - Target height for the elevator
      wristAngle - Target angle for the wrist