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 ClosedLoopConfig
PID config for the motor controller.static final double
Used for controlling the position of the motor correctly.static final double
Ramp deploy position.static final int
Ramp CAN ID.static final int
Ramp motor's current limit.static final double
Ramp gear ratio.static final double
Ramp 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()
-