Package frc.robot
Class Constants.RampConstants
java.lang.Object
frc.robot.Constants.RampConstants
- Enclosing class:
- Constants
Constants used to configure the
Ramp.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ClosedLoopConfigPID config for the motor controller.static final doubleUsed for controlling the position of the motor correctly.static final doubleRamp deploy position.static final intRamp CAN ID.static final intRamp motor's current limit.static final doubleRamp gear ratio.static final doubleRamp stow position. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
RAMP_MOTOR_GEAR_RATIO
public static final double RAMP_MOTOR_GEAR_RATIORamp gear ratio.- See Also:
-
RAMP_MOTOR_CAN_ID
public static final int RAMP_MOTOR_CAN_IDRamp CAN ID.- See Also:
-
CLOSED_LOOP_CONFIG
PID config for the motor controller. -
RAMP_MOTOR_CURRENT_LIMIT
public static final int RAMP_MOTOR_CURRENT_LIMITRamp motor's current limit.- See Also:
-
POSITION_CONVERSION_FACTOR
public static final double POSITION_CONVERSION_FACTORUsed for controlling the position of the motor correctly. Used to display the correct degree values in software.- See Also:
-
RAMP_STOW_POSITION
public static final double RAMP_STOW_POSITIONRamp stow position.- See Also:
-
RAMP_DEPLOY_POSITION
public static final double RAMP_DEPLOY_POSITIONRamp deploy position.- See Also:
-
-
Constructor Details
-
RampConstants
public RampConstants()
-