Package frc.robot
Class Constants.Climber.Telescope
java.lang.Object
frc.robot.Constants.Climber.Telescope
- Enclosing class:
- Constants.Climber
Telescope extension mechanism constants.
Defines motor IDs and neutral mode for the left and right telescope motors.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.ctre.phoenix6.signals.NeutralModeValueNeutral mode for telescope motors (brake or coast).static final AngleTelescope length at the top position, in degrees.static final doubleAcceleration feedforward constant.static final doubleDerivative gain for pivot position control.static final doubleGravity feedforward constant for maintaining pivot angle.static final doubleIntegral gain for pivot position control.static final doubleProportional gain for pivot position control.static final doubleStatic feedforward constant for overcoming friction.static final doubleVelocity feedforward constant.static final intCAN ID for the left telescope motor.static final intCAN ID for the right telescope motor.static final DistanceTelescope length at the top position, in Meters.static final doubleS Sensor to mechanism ratio for converting encoder rotations to mechanism angle. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
RIGHT_ID
public static final int RIGHT_IDCAN ID for the right telescope motor.- See Also:
-
LEFT_ID
public static final int LEFT_IDCAN ID for the left telescope motor.- See Also:
-
BREAK
public static final com.ctre.phoenix6.signals.NeutralModeValue BREAKNeutral mode for telescope motors (brake or coast). -
DEGREES_AT_TOP
Telescope length at the top position, in degrees. -
ROTATIONS_AT_TOP
Telescope length at the top position, in Meters. -
SENSOR_TO_MECHANISM_RATIO
public static final double SENSOR_TO_MECHANISM_RATIOS Sensor to mechanism ratio for converting encoder rotations to mechanism angle. -
KP
public static final double KPProportional gain for pivot position control.- See Also:
-
KI
public static final double KIIntegral gain for pivot position control.- See Also:
-
KD
public static final double KDDerivative gain for pivot position control.- See Also:
-
KS
public static final double KSStatic feedforward constant for overcoming friction.- See Also:
-
KV
public static final double KVVelocity feedforward constant.- See Also:
-
KA
public static final double KAAcceleration feedforward constant.- See Also:
-
KG
public static final double KGGravity feedforward constant for maintaining pivot angle.- See Also:
-
-
Constructor Details
-
Telescope
public Telescope()
-