Class SpinnerConstants
java.lang.Object
frc.robot.subsystems.intake.spinner.SpinnerConstants
Hardware and tuning constants for the intake subsystem.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCAN ID for the roller spinner motor.static final VoltageVoltage for pushing game pieces out.static final DCMotorThe motor type and quantity used by the spinner gearbox.static final VoltageVoltage for pulling game pieces in.static final doubleConverts internal motor rotations to radians for the spinner.static final doubleConverts internal motor velocity (RPM) to radians per second for the spinner.static final CurrentMax current draw for the spinner motor.static final booleanWhether the spinner motor is inverted.static final doubleGear ratio: 2.13 motor rotations = 1 output shaft rotation for the spinner. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CAN_ID
public static final int CAN_IDCAN ID for the roller spinner motor.- See Also:
-
MOTOR_INVERTED
public static final boolean MOTOR_INVERTEDWhether the spinner motor is inverted.- See Also:
-
REDUCTION
public static final double REDUCTIONGear ratio: 2.13 motor rotations = 1 output shaft rotation for the spinner.- See Also:
-
INTERNAL_ENCODER_POSITION_FACTOR
public static final double INTERNAL_ENCODER_POSITION_FACTORConverts internal motor rotations to radians for the spinner.- See Also:
-
INTERNAL_ENCODER_VELOCITY_FACTOR
public static final double INTERNAL_ENCODER_VELOCITY_FACTORConverts internal motor velocity (RPM) to radians per second for the spinner.- See Also:
-
MOTOR_CURRENT_LIMIT
Max current draw for the spinner motor. -
INTAKE_VOLTAGE
Voltage for pulling game pieces in. -
EXTAKE_VOLTAGE
Voltage for pushing game pieces out. -
GEARBOX
The motor type and quantity used by the spinner gearbox.
-
-
Constructor Details
-
SpinnerConstants
public SpinnerConstants()
-