Class ClimberDisableServos

All Implemented Interfaces:
Sendable

public class ClimberDisableServos extends InstantCommand
A command that disables the servos in the climber subsystem. This command executes instantly and can run when the robot is disabled.
  • Constructor Details

    • ClimberDisableServos

      public ClimberDisableServos(ClimberSubsystem climberSubsystem)
      Creates a new ClimberDisableServos command.
      Parameters:
      climberSubsystem - The climber subsystem to control
  • Method Details

    • initialize

      public void initialize()
      Called when the command is initially scheduled. Disables the servos in the climber subsystem.
      Overrides:
      initialize in class FunctionalCommand
    • runsWhenDisabled

      public boolean runsWhenDisabled()
      Returns whether this command can run when the robot is disabled.
      Overrides:
      runsWhenDisabled in class Command
      Returns:
      true, allowing this command to run when the robot is disabled