Class ElevatorWristHold
java.lang.Object
edu.wpi.first.wpilibj2.command.Command
edu.wpi.first.wpilibj2.command.ParallelCommandGroup
frc.alotobots.reefscape.commands.groups.ElevatorWristHold
- All Implemented Interfaces:
Sendable
A command group that schedules both elevator and wrist hold commands in parallel. This command is
designed to maintain the current position of both mechanisms simultaneously.
Note: This class is intended for autonomous routines only. Teleop operation uses a different control method for these subsystems. Uses schedule commands to run until the next command starts.
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.wpi.first.wpilibj2.command.Command
Command.InterruptionBehavior
-
Constructor Summary
ConstructorsConstructorDescriptionElevatorWristHold
(ElevatorSubsystem elevatorSubsystem, WristSubsystem wristSubsystem) Creates a new ElevatorWristHold command group. -
Method Summary
Methods inherited from class edu.wpi.first.wpilibj2.command.ParallelCommandGroup
addCommands, end, execute, getInterruptionBehavior, initialize, isFinished, runsWhenDisabled
Methods inherited from class edu.wpi.first.wpilibj2.command.Command
addRequirements, addRequirements, alongWith, andThen, andThen, asProxy, beforeStarting, beforeStarting, cancel, deadlineFor, deadlineWith, finallyDo, finallyDo, getName, getRequirements, getSubsystem, handleInterrupt, hasRequirement, ignoringDisable, initSendable, isScheduled, onlyIf, onlyWhile, raceWith, repeatedly, schedule, setName, setSubsystem, unless, until, withDeadline, withInterruptBehavior, withName, withTimeout, withTimeout
-
Constructor Details
-
ElevatorWristHold
Creates a new ElevatorWristHold command group.- Parameters:
elevatorSubsystem
- The elevator subsystem to be controlledwristSubsystem
- The wrist subsystem to be controlled
-