Package frc.robot.subsystems
Class Climber
java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
frc.robot.subsystems.Climber
Subsystem that controls the climber.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEngages the ratchet and lowers the climber.RaiseClimber
(double position) Disengages the ratchet and raises the climber.Methods inherited from class edu.wpi.first.wpilibj2.command.SubsystemBase
addChild, getName, getSubsystem, initSendable, setName, setSubsystem
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface edu.wpi.first.wpilibj2.command.Subsystem
defer, getCurrentCommand, getDefaultCommand, periodic, register, removeDefaultCommand, run, runEnd, runOnce, setDefaultCommand, simulationPeriodic, startEnd, startRun
-
Constructor Details
-
Climber
public Climber()
-
-
Method Details
-
RaiseClimber
Disengages the ratchet and raises the climber.- Returns:
- Command to run.
-
LowerClimber
Engages the ratchet and lowers the climber.- Returns:
- Command to run.
-