Class IndexerConstants

java.lang.Object
frc.robot.subsystems.indexer.IndexerConstants

public final class IndexerConstants extends Object
Hardware and tuning constants for the indexer subsystem.

Contains gearbox models, current limits, and voltage settings for the indexer motor.

  • Field Details

    • CAN_ID

      public static final int CAN_ID
      CAN ID for the indexer motor controller.
      See Also:
    • MOTOR_INVERTED

      public static final boolean MOTOR_INVERTED
      Whether the indexer motor is inverted.
      See Also:
    • GEARBOX

      public static final DCMotor GEARBOX
      The gearbox model for the indexer motor.
    • REDUCTION

      public static final double REDUCTION
      The gear reduction between the indexer motor and the conveyor mechanism.
      See Also:
    • MOI

      public static final MomentOfInertia MOI
      The moment of inertia of the indexer mechanism, used for simulation.
    • MOTOR_CURRENT_LIMIT

      public static final Current MOTOR_CURRENT_LIMIT
      Maximum current limit for the indexer motor to prevent overheating.
    • DEFAULT_VOLTAGE

      public static final Voltage DEFAULT_VOLTAGE
      The voltage applied to run the indexer at full speed.
  • Constructor Details

    • IndexerConstants

      public IndexerConstants()