Package limelight.networktables.target
Class Barcode
java.lang.Object
limelight.networktables.target.Barcode
Represents a Barcode Target Result extracted from JSON Output
-
Field Summary
FieldsModifier and TypeFieldDescriptiondouble[][]Corners array (pixels) [x0,y0,x1,y1.....].Gets the decoded data content of the barcodeBarcode family type (e.g.doubleThe size of the target as a percentage of the image (0-1)doubleX-coordinate of the center of the target in degrees relative to crosshair.doubleX-coordinate of the center of the target in degrees relative to principal piexel.doubleX-coordinate of the center of the target in pixels relative to crosshair.doubleY-coordinate of the center of the target in degrees relative to crosshair.doubleY-coordinate of the center of the target in degrees relative to principal pixel.doubleY-coordinate of the center of the target in pixels relative to crosshair. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
family
Barcode family type (e.g. "QR", "DataMatrix", etc.) -
data
Gets the decoded data content of the barcode -
tx_pixels
public double tx_pixelsX-coordinate of the center of the target in pixels relative to crosshair. Positive-right, center-zero -
ty_pixels
public double ty_pixelsY-coordinate of the center of the target in pixels relative to crosshair. Positive-down, center-zero -
tx
public double txX-coordinate of the center of the target in degrees relative to crosshair. Positive-right, center-zero -
ty
public double tyY-coordinate of the center of the target in degrees relative to crosshair. Positive-down, center-zero -
tx_nocrosshair
public double tx_nocrosshairX-coordinate of the center of the target in degrees relative to principal piexel. Positive-right, center-zero -
ty_nocrosshair
public double ty_nocrosshairY-coordinate of the center of the target in degrees relative to principal pixel. Positive-right, center-zero -
ta
public double taThe size of the target as a percentage of the image (0-1) -
corners
public double[][] cornersCorners array (pixels) [x0,y0,x1,y1.....]. Must be enabled in output tab
-
-
Constructor Details
-
Barcode
public Barcode()Creates a new Barcode Result
-
-
Method Details
-
getFamily
Gets the barcode family type.- Returns:
- Barcode family type (e.g. "QR", "DataMatrix", etc.)
-