Package frc.robot

Enum Class Constants.ArmPosition

java.lang.Object
java.lang.Enum<Constants.ArmPosition>
frc.robot.Constants.ArmPosition
All Implemented Interfaces:
Serializable, Comparable<Constants.ArmPosition>, Constable
Enclosing class:
Constants

public static enum Constants.ArmPosition extends Enum<Constants.ArmPosition>
Constants with the arm and elevator positions for various positions.

Wrist position is in degrees, elevator position is in meters.

  • Enum Constant Details

  • Field Details

    • ELEVATOR_POSITION

      public final double ELEVATOR_POSITION
      The elevator position in meters.
    • WRIST_POSITION

      public final double WRIST_POSITION
      The wrist position in degrees.
  • Method Details

    • values

      public static Constants.ArmPosition[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Constants.ArmPosition valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null