java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
com.stuypulse.robot.subsystems.intake.Intake
All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable, edu.wpi.first.wpilibj2.command.Subsystem
Direct Known Subclasses:
IntakeImpl, IntakeSim

public abstract class Intake extends edu.wpi.first.wpilibj2.command.SubsystemBase
  • Constructor Details

    • Intake

      protected Intake()
  • Method Details

    • getInstance

      public static Intake getInstance()
    • setState

      public void setState(Intake.IntakeState state)
    • getState

      public Intake.IntakeState getState()
    • getRelativePosition

      public abstract edu.wpi.first.math.geometry.Rotation2d getRelativePosition()
    • setPivotZero

      public abstract void setPivotZero()
    • setPivotZeroAtBottom

      public abstract void setPivotZeroAtBottom()
    • atTargetAngle

      public boolean atTargetAngle()
    • isPivotAboveThreshold

      public boolean isPivotAboveThreshold()
    • getRollerRPM

      public abstract double getRollerRPM()
    • stopMotors

      protected abstract void stopMotors()
    • getIntakeSysIdRoutine

      public abstract edu.wpi.first.wpilibj2.command.sysid.SysIdRoutine getIntakeSysIdRoutine()
    • setPivotVoltageOverride

      public abstract void setPivotVoltageOverride(edu.wpi.first.units.measure.Voltage voltage)
    • periodic

      public void periodic()