Class LimelightHelpers.PoseEstimate

java.lang.Object
frc.spectrumLib.vision.LimelightHelpers.PoseEstimate
Enclosing class:
LimelightHelpers

public static class LimelightHelpers.PoseEstimate extends Object
Represents a 3D Pose Estimate.
  • Field Details

    • pose

      public Pose2d pose
    • timestampSeconds

      public double timestampSeconds
    • latency

      public double latency
    • tagCount

      public int tagCount
    • tagSpan

      public double tagSpan
    • avgTagDist

      public double avgTagDist
    • avgTagArea

      public double avgTagArea
    • rawFiducials

      public LimelightHelpers.RawFiducial[] rawFiducials
    • isMegaTag2

      public boolean isMegaTag2
  • Constructor Details

    • PoseEstimate

      public PoseEstimate()
      Instantiates a PoseEstimate object with default values
    • PoseEstimate

      public PoseEstimate(Pose2d pose, double timestampSeconds, double latency, int tagCount, double tagSpan, double avgTagDist, double avgTagArea, LimelightHelpers.RawFiducial[] rawFiducials, boolean isMegaTag2)
      Creates a new PoseEstimate instance.
      Parameters:
      pose - the pose
      timestampSeconds - the timestampSeconds
      latency - the latency
      tagCount - the tagCount
      tagSpan - the tagSpan
      avgTagDist - the avgTagDist
      avgTagArea - the avgTagArea
      rawFiducials - the rawFiducials
      isMegaTag2 - the isMegaTag2
  • Method Details

    • equals

      public boolean equals(Object obj)
      Compares this object to another for equality.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Returns a hash code for this object.
      Overrides:
      hashCode in class Object