Class RawFiducial

java.lang.Object
limelight.results.RawFiducial

public class RawFiducial extends Object
Represents a Limelight Raw Fiducial result from Limelight's NetworkTables output.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    double
    Ambiguity as a percentage [0,1]
    double
    Distance to camera in Meters
    double
    Distance to robot in Meters
    int
    AprilTag ID
    double
    Tag ambiguity as percent of the image.
    double
    Tag X coordinate in the image.
    double
    Tag Y coordinate in the image.
  • Constructor Summary

    Constructors
    Constructor
    Description
    RawFiducial(int id, double txnc, double tync, double ta, double distToCamera, double distToRobot, double ambiguity)
    Creates a new RawFiducial Result
  • Method Summary

    Modifier and Type
    Method
    Description
    Convert the AprilTag class into a string

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • id

      public int id
      AprilTag ID
    • txnc

      public double txnc
      Tag X coordinate in the image.
    • tync

      public double tync
      Tag Y coordinate in the image.
    • ta

      public double ta
      Tag ambiguity as percent of the image.
    • distToCamera

      public double distToCamera
      Distance to camera in Meters
    • distToRobot

      public double distToRobot
      Distance to robot in Meters
    • ambiguity

      public double ambiguity
      Ambiguity as a percentage [0,1]
  • Constructor Details

    • RawFiducial

      public RawFiducial(int id, double txnc, double tync, double ta, double distToCamera, double distToRobot, double ambiguity)
      Creates a new RawFiducial Result
      Parameters:
      id - Tag ID
      txnc - X coordinate in image
      tync - Y coordinate in image
      ta - Ambiguity as a percent of the image
      distToCamera - Distance to camera in Meters
      distToRobot - Distance to robot in Meters
      ambiguity - ambiguity as a percentage [0,1]
  • Method Details

    • toString

      public String toString()
      Convert the AprilTag class into a string
      Overrides:
      toString in class Object