Class UnClimb
java.lang.Object
edu.wpi.first.wpilibj2.command.Command
edu.wpi.first.wpilibj2.command.SequentialCommandGroup
frc.alotobots.reefscape.commands.groups.UnClimb
- All Implemented Interfaces:
Sendable
A sequential command group that handles the unclimbing sequence. This command executes a series
of steps to safely disengage the climbing mechanism: 1. Enables the servos 2. Sets the plunger to
receive position 3. Unlocks the cage 4. Waits for 1 second 5. Disables the servos
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.wpi.first.wpilibj2.command.Command
Command.InterruptionBehavior
-
Constructor Summary
ConstructorsConstructorDescriptionUnClimb
(ClimberSubsystem climberSubsystem, ElevatorSubsystem elevatorSubsystem) Creates a new UnClimb command. -
Method Summary
Methods inherited from class edu.wpi.first.wpilibj2.command.SequentialCommandGroup
addCommands, end, execute, getInterruptionBehavior, initialize, initSendable, 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, isScheduled, onlyIf, onlyWhile, raceWith, repeatedly, schedule, setName, setSubsystem, unless, until, withDeadline, withInterruptBehavior, withName, withTimeout, withTimeout
-
Constructor Details
-
UnClimb
Creates a new UnClimb command.- Parameters:
climberSubsystem
- The climber subsystem to control
-