Enum Class PoseObservation.Kind

java.lang.Object
java.lang.Enum<PoseObservation.Kind>
frc.spectrumLib.localization.PoseObservation.Kind
All Implemented Interfaces:
Serializable, Comparable<PoseObservation.Kind>, Constable
Enclosing class:
PoseObservation

public static enum PoseObservation.Kind extends Enum<PoseObservation.Kind>
What produced an observation.
  • Enum Constant Details

    • LIMELIGHT_MT1

      public static final PoseObservation.Kind LIMELIGHT_MT1
      Limelight MegaTag1: heading and translation solved from tag geometry.
    • LIMELIGHT_MT2

      public static final PoseObservation.Kind LIMELIGHT_MT2
      Limelight MegaTag2: translation solved with the heading the robot pushed in.
    • PHOTON

      public static final PoseObservation.Kind PHOTON
      PhotonVision multi-tag (or lowest-ambiguity single-tag) solve.
    • QUESTNAV

      public static final PoseObservation.Kind QUESTNAV
      Meta Quest inside-out tracking via QuestNav.
    • PHOTON_GYRO

      public static final PoseObservation.Kind PHOTON_GYRO
      PhotonVision tags solved on the robot with the heading held to the gyro.
    • PHOTON_TXTY

      public static final PoseObservation.Kind PHOTON_TXTY
      One tag's angles and distance plus the gyro heading (6328's tx/ty estimate).
  • Method Details

    • values

      public static PoseObservation.Kind[] 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 PoseObservation.Kind 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