Package frc.robot

Class Constants

java.lang.Object
frc.robot.Constants

public final class Constants extends Object
The Constants class provides a convenient place for teams to hold robot-wide numerical or boolean constants. This class should not be used for any other purpose. All constants should be declared globally (i.e. public static). Do not put anything functional in this class.

It is advised to statically import this class (or one of its inner classes) wherever the constants are needed, to reduce verbosity.

  • Field Details

    • ENABLED_BATTERY_WARNING_VOLTAGE

      public static final double ENABLED_BATTERY_WARNING_VOLTAGE
      See Also:
    • DISABLED_BATTERY_WARNING_VOLTAGE

      public static final double DISABLED_BATTERY_WARNING_VOLTAGE
      See Also:
    • PODIUM_DISTANCE

      public static final double PODIUM_DISTANCE
      in meters
      See Also:
    • BRAKE_TOGGLE_BUTTON_DIO

      public static final int BRAKE_TOGGLE_BUTTON_DIO
      See Also:
    • NUMBER_OF_MOTORS

      public static final int NUMBER_OF_MOTORS
      See Also:
  • Constructor Details

    • Constants

      public Constants()