Class IndexerSubsystemConfig
java.lang.Object
frc.robot.shared.config.AbstractConfig
frc.robot.shared.config.AbstractSubsystemConfig
frc.robot.shared.config.AbstractMotorSubsystemConfig
frc.robot.shared.config.AbstractVelocitySubsystemConfig
frc.robot.subsystems.indexer.config.IndexerSubsystemConfig
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class frc.robot.shared.config.AbstractConfig
AbstractConfig.ComponentPoseConfig -
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleDefault forward velocity used for feeding Fuel into the shooter, in RPM.doubleReverse velocity used for clearing jams or backing Fuel toward the feeder, in RPM.Fields inherited from class frc.robot.shared.config.AbstractVelocitySubsystemConfig
motionProfileFields inherited from class frc.robot.shared.config.AbstractMotorSubsystemConfig
feedforward, motorConfig, pid, sysIdFields inherited from class frc.robot.shared.config.AbstractSubsystemConfig
enabled, verbose -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the default feed velocity, tuned via SmartDashboard.doubleReturns the reverse velocity for clearing jams, tuned via SmartDashboard.Methods inherited from class frc.robot.shared.config.AbstractSubsystemConfig
getVerboseMethods inherited from class frc.robot.shared.config.AbstractConfig
getDashboardPrefix, initializeNestedDashboardPrefixes, readTunableBoolean, readTunableDegrees, readTunableDegreesAsRadians, readTunableNumber, readTunableString, setDashboardPrefix
-
Field Details
-
feedVelocityRpm
public double feedVelocityRpmDefault forward velocity used for feeding Fuel into the shooter, in RPM. -
reverseVelocityRpm
public double reverseVelocityRpmReverse 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)
-