Package frc.robot
Class Constants.SuperstructureConstants
java.lang.Object
frc.robot.Constants.SuperstructureConstants
- Enclosing class:
- Constants
Constants that configure the superstructure.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanShould we automatically enter theShooterSuperstructure.ShooterState.HOMEstate on enable?static final Distancethe distance from the pivot of the hood to the halfway point between the edges of the flywheels, AKA where the ball will be launched fromstatic final StringThe table name for the intake superstructure.static final TimeThe interval to run theRobotContainer.superstructurePeriodic()at.static final Transform3dthe transform from the center of the robot on the floor to the center of the pivot on the top of the shooter base plate, in metersstatic final StringThe table name for the shooter superstructure.static final intThe number of times to recalculate the shooting position for shoot-while-move.static final Transform3dthe transform from the center of the pivot on top of the shooter base plate to the center of the hood pivot axis in meters -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SHOOTER_SUPERSTRUCTURE_TABLE_NAME
The table name for the shooter superstructure.- See Also:
-
INTAKE_SUPERSTRUCTURE_TABLE_NAME
The table name for the intake superstructure.- See Also:
-
PERIODIC_INTERVAL
The interval to run theRobotContainer.superstructurePeriodic()at. -
SHOOTING_CALCULATOR_ITERATIONS
public static final int SHOOTING_CALCULATOR_ITERATIONSThe number of times to recalculate the shooting position for shoot-while-move. More iterations should give more accurate shoot-while-move outputs.- See Also:
-
HOME_ON_ENABLE
public static final boolean HOME_ON_ENABLEShould we automatically enter theShooterSuperstructure.ShooterState.HOMEstate on enable?This should be set to true for competitions, since we want to spin up the shooter automatically.
- See Also:
-
HOOD_PIVOT_TO_GAMEPIECE_LAUNCH_RADIUS
the distance from the pivot of the hood to the halfway point between the edges of the flywheels, AKA where the ball will be launched from -
ROBOT_TO_TURRET_BASE_TRANSFORM
the transform from the center of the robot on the floor to the center of the pivot on the top of the shooter base plate, in meters -
TURRET_BASE_TO_HOOD_PIVOT
the transform from the center of the pivot on top of the shooter base plate to the center of the hood pivot axis in meters
-
-
Constructor Details
-
SuperstructureConstants
public SuperstructureConstants()
-