Package frc.robot.subsystems.climb
Class ClimbConstants
java.lang.Object
frc.robot.subsystems.climb.ClimbConstants
Hardware and tuning constants for the climb subsystem.
Contains CAN IDs, current limits, and gearbox models for the climb mechanism.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCAN ID for the lift mechanism motor.static final MassThe mass of the climber mechanism in kilograms.static final VoltageDefault voltage used for lifting and lowering the mechanism.static final DistanceThe radius of the winch drum when empty.static final DCMotorThe gearbox model for the lift motor.static final DistanceSimulated lower travel limit.static final CurrentMaximum current limit for the lift motor to prevent thermal damage.static final booleanInversion setting for the lift motor.static final doubleGear reduction on the climberstatic final ForceThe spring constant for the climber mechanism in Newtons per meter.static final DistanceSimulated upper travel limit. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
CAN_ID
public static final int CAN_IDCAN ID for the lift mechanism motor.- See Also:
-
MOTOR_CURRENT_LIMIT
Maximum current limit for the lift motor to prevent thermal damage. -
MOTOR_INVERTED
public static final boolean MOTOR_INVERTEDInversion setting for the lift motor.- See Also:
-
GEARBOX
The gearbox model for the lift motor. -
DEFAULT_VOLTAGE
Default voltage used for lifting and lowering the mechanism. -
UPPER_HEIGHT
Simulated upper travel limit. -
LOWER_HEIGHT
Simulated lower travel limit. -
DRUM_RADIUS
The radius of the winch drum when empty. -
REDUCTION
public static final double REDUCTIONGear reduction on the climber- See Also:
-
CLIMBER_MASS
The mass of the climber mechanism in kilograms. -
SPRING_CONSTANT
The spring constant for the climber mechanism in Newtons per meter.
-
-
Constructor Details
-
ClimbConstants
public ClimbConstants()
-