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
Modifier and TypeClassDescriptionstatic final class
CAN bus device ID assignments.static enum
Defines the possible runtime modes for the robot code. -
Field Summary
Modifier and TypeFieldDescriptionstatic final Constants.Mode
The current runtime mode, determined by whether running on real hardware or in simulation.static final Constants.Mode
The simulation mode to use when not running on real hardware.static final TunerConstants
Global tuning constants for the swerve drive. -
Constructor Summary
-
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()
-