Class ShooterSubsystem

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

public class ShooterSubsystem extends MotorSubsystem
  • Field Details

    • ACCOUNT_FOR_ROBOT_VEL

      public static boolean ACCOUNT_FOR_ROBOT_VEL
    • VELOCITY_MULT

      public static double VELOCITY_MULT
    • GRAVITY

      public static final double GRAVITY
      See Also:
    • FLYWHEEL_CIRC

      public static final double FLYWHEEL_CIRC
    • SHOOTER_ANGLE

      public static final double SHOOTER_ANGLE
    • SHOOTER_POS

      public static final edu.wpi.first.math.geometry.Translation3d SHOOTER_POS
    • BLUE_LONG_SHOOT_X

      public static final double BLUE_LONG_SHOOT_X
      See Also:
    • RED_LONG_SHOOT_X

      public static final double RED_LONG_SHOOT_X
      See Also:
    • HUB_HEIGHT

      public static final double HUB_HEIGHT
      See Also:
    • BLUE_HUB

      public static final ShooterSubsystem.Hub BLUE_HUB
    • RED_HUB

      public static final ShooterSubsystem.Hub RED_HUB
  • Constructor Details

    • ShooterSubsystem

      public ShooterSubsystem(CustomTalonFX... motors)
  • Method Details

    • getOwnHub

      public static ShooterSubsystem.Hub getOwnHub()
    • c_basicShoot

      public edu.wpi.first.wpilibj2.command.Command c_basicShoot()
    • c_controlVelocity

      public edu.wpi.first.wpilibj2.command.Command c_controlVelocity(DoubleSupplier getVelocity)
    • canShoot

      public boolean canShoot()
    • c_smartShoot

      public edu.wpi.first.wpilibj2.command.Command c_smartShoot()
    • c_smartShootAlign

      public static edu.wpi.first.wpilibj2.command.Command c_smartShootAlign()
    • c_longShoot

      public edu.wpi.first.wpilibj2.command.Command c_longShoot()
    • c_longShootAlign

      public edu.wpi.first.wpilibj2.command.Command c_longShootAlign()
    • getShooterVelocityForDistance

      public static double getShooterVelocityForDistance(double dist)
    • periodic

      public void periodic()