Class WristTalonFXRealConstants
java.lang.Object
frc.alotobots.reefscape.subsystems.wrist.constants.WristTalonFXRealConstants
Contains TalonFX-specific constants for the real robot implementation of the wrist. Includes PID
values, motor configuration, and safety limits.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classContains safety limit constants for the wrist motors.static final classContains PID and motion control constants for different control modes. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.ctre.phoenix6.signals.SensorDirectionValueDirection of the encoder rotationstatic final doubleMagnet offset for the CANCoder absolute positionstatic final com.ctre.phoenix6.signals.NeutralModeValueNeutral mode (brake/coast) setting for the mechanismstatic final com.ctre.phoenix6.signals.InvertedValueDirection of the motor rotationstatic final intGear ratio between motor rotation and mechanism rotation -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MOTOR_DIRECTION
public static final com.ctre.phoenix6.signals.InvertedValue MOTOR_DIRECTIONDirection of the motor rotation -
ENCODER_DIRECTION
public static final com.ctre.phoenix6.signals.SensorDirectionValue ENCODER_DIRECTIONDirection of the encoder rotation -
MECHANISM_NEUTRAL_MODE
public static final com.ctre.phoenix6.signals.NeutralModeValue MECHANISM_NEUTRAL_MODENeutral mode (brake/coast) setting for the mechanism -
ROTOR_TO_SENSOR_RATIO
public static final int ROTOR_TO_SENSOR_RATIOGear ratio between motor rotation and mechanism rotation- See Also:
-
ENCODER_MAGNET_OFFSET
public static final double ENCODER_MAGNET_OFFSETMagnet offset for the CANCoder absolute position- See Also:
-
-
Constructor Details
-
WristTalonFXRealConstants
public WristTalonFXRealConstants()
-