Climber

public class Climber extends SubsystemBase

The PivotSubsystem class is a subsystem that interfaces with the pivot system to provide control over the pivot motors. This subsystem is a Singleton, meaning that only one instance of this class is created and shared across the entire robot code.

Functions

Link copied to clipboard
public static Climber getInstance()
Returns the Singleton instance of this PivotSubsystem.
Link copied to clipboard
public double getPivotPosValue()
Get the position of the elevator motor
Link copied to clipboard
public void initializeAlarms()
Link copied to clipboard
public void movePivot(double velocity)
Move the pivot motor based on the velocity
Link copied to clipboard
public void periodic()
Link copied to clipboard
public void resetEncoders()
Soft resets the encoders on the elevator motors
Link copied to clipboard
public void setMotorPosition(double motorPos)
Set the position of the left and right pivot motors
Link copied to clipboard
public void setPivot(double pos)
Set the pivot motor to a specific position
Link copied to clipboard
public void stopMotor()
Stops the pivot motor
Link copied to clipboard
public void toggleSoftStop()
Toggles the soft stop for the elevator motor