Package edu.wpi.first.apriltag
Enum Class AprilTagFieldLayout.OriginPosition
java.lang.Object
java.lang.Enum<AprilTagFieldLayout.OriginPosition>
edu.wpi.first.apriltag.AprilTagFieldLayout.OriginPosition
- All Implemented Interfaces:
Serializable
,Comparable<AprilTagFieldLayout.OriginPosition>
,Constable
- Enclosing class:
- AprilTagFieldLayout
public static enum AprilTagFieldLayout.OriginPosition
extends Enum<AprilTagFieldLayout.OriginPosition>
Common origin positions for the AprilTag coordinate system.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBlue alliance wall, right side.Red alliance wall, right side. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static AprilTagFieldLayout.OriginPosition[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
kBlueAllianceWallRightSide
Blue alliance wall, right side. -
kRedAllianceWallRightSide
Red alliance wall, right side.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-