Class ElevatorWristRunAuto

All Implemented Interfaces:
Sendable

public class ElevatorWristRunAuto extends SequentialCommandGroup
  • Constructor Details

    • ElevatorWristRunAuto

      public ElevatorWristRunAuto(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