Class ShooterSubsystem

java.lang.Object
edu.wpi.first.wpilibj2.command.SubsystemBase
org.penguinempire.subsystems.ShooterSubsystem
All Implemented Interfaces:
edu.wpi.first.util.sendable.Sendable, edu.wpi.first.wpilibj2.command.Subsystem

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

  • Method Details

    • setShooterRotationPosition

      public void setShooterRotationPosition(double position)
    • manualRotateShooter

      public void manualRotateShooter(boolean down)
    • stopShooterRotation

      public void stopShooterRotation()
    • hasReachedShooterTarget

      public boolean hasReachedShooterTarget(double tolerance)
    • spinShooter

      public void spinShooter(boolean intake)
      Runs the shooter forward (intake mode)
    • stopShooter

      public void stopShooter()
      Stops the shooter
    • spinAlgaeShooter

      public void spinAlgaeShooter(double power)
    • stopAlgaeShooter

      public void stopAlgaeShooter()
    • getPiece

      public boolean getPiece()
    • periodic

      public void periodic()