Class Climb
java.lang.Object
edu.wpi.first.wpilibj2.command.Command
edu.wpi.first.wpilibj2.command.SequentialCommandGroup
frc.alotobots.reefscape.commands.groups.Climb
- All Implemented Interfaces:
Sendable
A sequential command group that handles the climbing sequence. This command coordinates the
elevator and climber subsystems to perform a climbing operation.
-
Nested Class Summary
Nested classes/interfaces inherited from class edu.wpi.first.wpilibj2.command.Command
Command.InterruptionBehavior
-
Constructor Summary
ConstructorsConstructorDescriptionClimb
(ClimberSubsystem climberSubsystem, ElevatorSubsystem elevatorSubsystem, BlingSubsystem blingSubsystem, DoubleSupplier input) Creates a new Climb 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
-
Climb
public Climb(ClimberSubsystem climberSubsystem, ElevatorSubsystem elevatorSubsystem, BlingSubsystem blingSubsystem, DoubleSupplier input) Creates a new Climb command.- Parameters:
climberSubsystem
- The climber subsystem to controlelevatorSubsystem
- The elevator subsystem to controlblingSubsystem
- The bling subsystem to controlinput
- The input supplier for controlling climb velocity
-