Class ElevatorWristRunCruiseDisabled

java.lang.Object
edu.wpi.first.wpilibj2.command.Command
edu.wpi.first.wpilibj2.command.SequentialCommandGroup
frc.alotobots.reefscape.commands.groups.ElevatorWristRunCruiseDisabled
All Implemented Interfaces:
Sendable

public class ElevatorWristRunCruiseDisabled extends SequentialCommandGroup
  • Constructor Details

    • ElevatorWristRunCruiseDisabled

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