Enum Class PoseObservation.Kind
- All Implemented Interfaces:
Serializable, Comparable<PoseObservation.Kind>, Constable
- Enclosing class:
PoseObservation
What produced an observation.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLimelight MegaTag1: heading and translation solved from tag geometry.Limelight MegaTag2: translation solved with the heading the robot pushed in.PhotonVision multi-tag (or lowest-ambiguity single-tag) solve.PhotonVision tags solved on the robot with the heading held to the gyro.One tag's angles and distance plus the gyro heading (6328's tx/ty estimate).Meta Quest inside-out tracking via QuestNav. -
Method Summary
Modifier and TypeMethodDescriptionstatic PoseObservation.KindReturns the enum constant of this class with the specified name.static PoseObservation.Kind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LIMELIGHT_MT1
Limelight MegaTag1: heading and translation solved from tag geometry. -
LIMELIGHT_MT2
Limelight MegaTag2: translation solved with the heading the robot pushed in. -
PHOTON
PhotonVision multi-tag (or lowest-ambiguity single-tag) solve. -
QUESTNAV
Meta Quest inside-out tracking via QuestNav. -
PHOTON_GYRO
PhotonVision tags solved on the robot with the heading held to the gyro. -
PHOTON_TXTY
One tag's angles and distance plus the gyro heading (6328's tx/ty estimate).
-
-
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
-