Package frc8768.robot.util
Class Constants
java.lang.Object
frc8768.robot.util.Constants
Anything that stays the same throughout the runtime of the program should be in here.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Swerve-specific configuration. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final edu.wpi.first.math.geometry.Translation2d
Center of botstatic final double
Controller deadband, prevents accidental inputstatic final int
The Main Driver controller IDstatic final edu.wpi.first.math.geometry.Translation2d
Field size in meters, relative to 0,0static final double
Inertia of Momentum in KG Sq Metersstatic final int
How often to poll operators, msstatic final double
Weight of Robot in Kilograms -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DRIVER_CONTROLLER_ID
public static final int DRIVER_CONTROLLER_IDThe Main Driver controller ID- See Also:
-
CONTROLLER_DEADBAND
public static final double CONTROLLER_DEADBANDController deadband, prevents accidental input- See Also:
-
BOT_CENTER
public static final edu.wpi.first.math.geometry.Translation2d BOT_CENTERCenter of bot -
FIELD_SIZE
public static final edu.wpi.first.math.geometry.Translation2d FIELD_SIZEField size in meters, relative to 0,0 -
WEIGHT
public static final double WEIGHTWeight of Robot in Kilograms- See Also:
-
INERTIA
public static final double INERTIAInertia of Momentum in KG Sq Meters- See Also:
-
POLL_RATE
public static final int POLL_RATEHow often to poll operators, ms- See Also:
-
-
Constructor Details
-
Constants
public Constants()
-