Class IndexerSubsystemConfig


public class IndexerSubsystemConfig extends AbstractVelocitySubsystemConfig
Configuration bundle for the indexer subsystem. All RPM values represent roller (mechanism) speed after gear reduction, not motor shaft speed.

Velocity limits, PID gains, feedforward gains, and settle time are inherited from AbstractVelocitySubsystemConfig. Indexer-specific fields cover the default feed speed and reverse speed for clearing.

  • Field Details

    • feedVelocityRpm

      public double feedVelocityRpm
      Default forward velocity used for feeding Fuel into the shooter, in RPM.
    • reverseVelocityRpm

      public double reverseVelocityRpm
      Reverse velocity used for clearing jams or backing Fuel toward the feeder, in RPM. Stored as a positive value; the subsystem negates it.
  • Constructor Details

    • IndexerSubsystemConfig

      public IndexerSubsystemConfig()
  • Method Details

    • getFeedVelocityRpm

      public double getFeedVelocityRpm()
      Returns the default feed velocity, tuned via SmartDashboard.
      Returns:
      feed velocity in RPM (positive value; forward into the shooter)
    • getReverseVelocityRpm

      public double getReverseVelocityRpm()
      Returns the reverse velocity for clearing jams, tuned via SmartDashboard.
      Returns:
      reverse velocity in RPM (positive value; the subsystem applies the sign)