Package frc.robot.subsystems
Class ClimberSubsystem
java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
frc.robot.subsystems.ClimberSubsystem
- All Implemented Interfaces:
- edu.wpi.first.util.sendable.Sendable,- edu.wpi.first.wpilibj2.command.Subsystem
public class ClimberSubsystem
extends edu.wpi.first.wpilibj2.command.SubsystemBase
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class edu.wpi.first.wpilibj2.command.SubsystemBaseaddChild, getName, getSubsystem, initSendable, setName, setSubsystemMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.wpi.first.wpilibj2.command.Subsystemdefer, getCurrentCommand, getDefaultCommand, periodic, register, removeDefaultCommand, run, runEnd, runOnce, setDefaultCommand, simulationPeriodic, startEnd
- 
Constructor Details- 
ClimberSubsystempublic ClimberSubsystem()
 
- 
- 
Method Details- 
getLeftEncoderpublic com.revrobotics.RelativeEncoder getLeftEncoder()
- 
getRightEncoderpublic com.revrobotics.RelativeEncoder getRightEncoder()
- 
extendpublic void extend()Extends the climber
- 
retractpublic void retract()Retracts the climber back down
- 
holdpublic void hold()Hold the motors (break mdoe)
 
-