SequentialWristElevatorRun Command
The SequentialWristElevatorRun command group coordinates the movement of both the wrist and elevator mechanisms in a specific order, moving the wrist to position first, followed by the elevator movement. This sequential operation can be useful for avoiding interference or when specific movement patterns are required.
Subsystem Requirements
This command group requires: - Wrist Subsystem - Elevator Subsystem
Constructor Parameters
public SequentialWristElevatorRun(
WristSubsystem wristSubsystem,
ElevatorSubsystem elevatorSubsystem,
Distance elevatorHeight,
Angle wristAngle)
wristSubsystem
: The wrist subsystem instance for angular movementelevatorSubsystem
: The elevator subsystem instance for vertical movementelevatorHeight
: Desired target height for the elevator using WPILib Distance unitswristAngle
: Desired target angle for the wrist using WPILib Angle units
Configuration Requirements
-
Both subsystems must be properly configured with:
- PID control parameters
- Motion constraints
- Soft limits
- Zero offset calibration
-
The command uses proxy commands, so default commands should be configured for both subsystems