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 Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Extends the climber
    com.revrobotics.RelativeEncoder
     
    com.revrobotics.RelativeEncoder
     
    void
    Hold the motors (break mdoe)
    void
    Retracts the climber back down

    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
  • Constructor Details

    • ClimberSubsystem

      public ClimberSubsystem()
  • Method Details

    • getLeftEncoder

      public com.revrobotics.RelativeEncoder getLeftEncoder()
    • getRightEncoder

      public com.revrobotics.RelativeEncoder getRightEncoder()
    • extend

      public void extend()
      Extends the climber
    • retract

      public void retract()
      Retracts the climber back down
    • hold

      public void hold()
      Hold the motors (break mdoe)