Class ElevatorWristRun

All Implemented Interfaces:
Sendable

public class ElevatorWristRun extends SequentialCommandGroup
  • Constructor Details

    • ElevatorWristRun

      public ElevatorWristRun(ElevatorSubsystem elevatorSubsystem, WristSubsystem wristSubsystem, Distance elevatorHeight, Angle wristAngle)
      Creates a new ElevatorWristRun 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:
      elevatorSubsystem - The elevator subsystem
      elevatorHeight - Target height for the elevator
      wristSubsystem - The wrist subsystem
      wristAngle - Target angle for the wrist