AlgaeManipulator

public class AlgaeManipulator extends SubsystemBase

The PivotSubsystem class is a subsystem that interfaces with the arm system to provide control over the arm 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 AlgaeManipulator getInstance()
Returns the Singleton instance of this PivotSubsystem.
Link copied to clipboard
public double getPivotPosValue()
Get the position of the end effector motor
Link copied to clipboard
public void initializeAlarms()
Link copied to clipboard
public void moveArm(double velocity)
Move the end effector 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 end effector motors
Link copied to clipboard
public void stopMotor()
Stops the arm motor
Link copied to clipboard
public void toggleSoftStop()
Toggles the soft stop for the end effector motor