Package frc.robot.subsystems.indexer
Class IndexerConstants
java.lang.Object
frc.robot.subsystems.indexer.IndexerConstants
Hardware and tuning constants for the indexer subsystem.
Contains gearbox models, current limits, and voltage settings for the indexer motor.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCAN ID for the indexer motor controller.static final VoltageThe voltage applied to run the indexer at full speed.static final DCMotorThe gearbox model for the indexer motor.static final MomentOfInertiaThe moment of inertia of the indexer mechanism, used for simulation.static final CurrentMaximum current limit for the indexer motor to prevent overheating.static final booleanWhether the indexer motor is inverted.static final doubleThe gear reduction between the indexer motor and the conveyor mechanism. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CAN_ID
public static final int CAN_IDCAN ID for the indexer motor controller.- See Also:
-
MOTOR_INVERTED
public static final boolean MOTOR_INVERTEDWhether the indexer motor is inverted.- See Also:
-
GEARBOX
The gearbox model for the indexer motor. -
REDUCTION
public static final double REDUCTIONThe gear reduction between the indexer motor and the conveyor mechanism.- See Also:
-
MOI
The moment of inertia of the indexer mechanism, used for simulation. -
MOTOR_CURRENT_LIMIT
Maximum current limit for the indexer motor to prevent overheating. -
DEFAULT_VOLTAGE
The voltage applied to run the indexer at full speed.
-
-
Constructor Details
-
IndexerConstants
public IndexerConstants()
-