Class ElevatorTalonFXRealConstants
java.lang.Object
frc.alotobots.reefscape.subsystems.elevator.constants.ElevatorTalonFXRealConstants
Constants for the physical elevator subsystem using TalonFX motors. Contains PID constants for
different control modes and motor safety limits.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classContains safety limit constants for the elevator motors.static final classContains PID and motion control constants for different control modes. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doubleRegression used to calculate height of motor.static final com.ctre.phoenix6.signals.InvertedValueDirection of the left motor rotationstatic final com.ctre.phoenix6.signals.NeutralModeValueNeutral mode (brake/coast) setting for the mechanism -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LEFT_MOTOR_DIRECTION
public static final com.ctre.phoenix6.signals.InvertedValue LEFT_MOTOR_DIRECTIONDirection of the left motor rotation -
MECHANISM_NEUTRAL_MODE
public static final com.ctre.phoenix6.signals.NeutralModeValue MECHANISM_NEUTRAL_MODENeutral mode (brake/coast) setting for the mechanism -
HEIGHT_PER_ROTATION
public static final double HEIGHT_PER_ROTATIONRegression used to calculate height of motor. (Should be linear) Rotations:Meters- See Also:
-
-
Constructor Details
-
ElevatorTalonFXRealConstants
public ElevatorTalonFXRealConstants()
-