Package frc.alotobots
Class Constants
java.lang.Object
frc.alotobots.Constants
Robot-wide constants class that defines runtime modes and device configurations. This class
contains global constants and configurations used across the robot code.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classCAN bus device ID assignments.static enumDefines the possible runtime modes for the robot code. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Constants.ModeThe current runtime mode, determined by whether running on real hardware or in simulation.static final Constants.ModeThe simulation mode to use when not running on real hardware.static final TunerConstantsGlobal tuning constants for the swerve drive. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
simMode
The simulation mode to use when not running on real hardware. -
currentMode
The current runtime mode, determined by whether running on real hardware or in simulation. -
tunerConstants
Global tuning constants for the swerve drive.
-
-
Constructor Details
-
Constants
public Constants()
-