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 class
static final class
Contains safety limit constants for the wrist motors.static final class
Contains PID and motion control constants for different control modes. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.ctre.phoenix6.signals.SensorDirectionValue
Direction of the encoder rotationstatic final double
Magnet offset for the CANCoder absolute positionstatic final com.ctre.phoenix6.signals.NeutralModeValue
Neutral mode (brake/coast) setting for the mechanismstatic final com.ctre.phoenix6.signals.InvertedValue
Direction of the motor rotationstatic final int
Gear 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()
-