Enum Class PoseEstimator.PoseEstimators
java.lang.Object
java.lang.Enum<PoseEstimator.PoseEstimators>
io.github.roboblazers7617.limelight.PoseEstimator.PoseEstimators
- All Implemented Interfaces:
Serializable
,Comparable<PoseEstimator.PoseEstimators>
,Constable
- Enclosing class:
- PoseEstimator
PoseEstimators enum for easier decoding.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription(Recommended) The robot's 3D pose in the WPILib Blue Alliance Coordinate System.(Recommended) The robot's 3D pose in the WPILib Blue Alliance Coordinate System with MegaTag2.(Not Recommended) The robot's pose in the WPILib Red Alliance Coordinate System.(Not Recommended) The robot's pose in the WPILib Red Alliance Coordinate System with MegaTag2. -
Method Summary
Modifier and TypeMethodDescriptiongetEntry()
static PoseEstimator.PoseEstimators
Returns the enum constant of this class with the specified name.static PoseEstimator.PoseEstimators[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RED
(Not Recommended) The robot's pose in the WPILib Red Alliance Coordinate System. -
RED_MEGATAG2
(Not Recommended) The robot's pose in the WPILib Red Alliance Coordinate System with MegaTag2. -
BLUE
(Recommended) The robot's 3D pose in the WPILib Blue Alliance Coordinate System. -
BLUE_MEGATAG2
(Recommended) The robot's 3D pose in the WPILib Blue Alliance Coordinate System with MegaTag2.
-
-
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
-
getEntry
-
isMegaTag2
-