Class Limelight.LimelightTarget
java.lang.Object
com.limelightvision.Limelight.LimelightTarget
- Direct Known Subclasses:
Limelight.BarcodeTarget, Limelight.DetectorTarget, Limelight.FiducialTarget, Limelight.RetroTarget
- Enclosing class:
Limelight
Fields common to all image-space targets.
-
Field Summary
FieldsModifier and TypeFieldDescriptiondouble[][]Target corners as [x, y] pixel pairs.doubleTarget area (percentage of image, 0-100).doubleHorizontal offset from crosshair to target in degrees.doubleHorizontal offset from principal pixel to target in degrees.doubleTarget x position in pixels.doubleVertical offset from crosshair to target in degrees.doubleVertical offset from principal pixel to target in degrees.doubleTarget y position in pixels. -
Method Summary
-
Field Details
-
txDegrees
public double txDegreesHorizontal offset from crosshair to target in degrees. -
tyDegrees
public double tyDegreesVertical offset from crosshair to target in degrees. -
txDegreesNoCrosshair
public double txDegreesNoCrosshairHorizontal offset from principal pixel to target in degrees. -
tyDegreesNoCrosshair
public double tyDegreesNoCrosshairVertical offset from principal pixel to target in degrees. -
txPixels
public double txPixelsTarget x position in pixels. -
tyPixels
public double tyPixelsTarget y position in pixels. -
targetAreaPercent
public double targetAreaPercentTarget area (percentage of image, 0-100). -
corners
public double[][] cornersTarget corners as [x, y] pixel pairs. Empty unless "send corners" is enabled
-