Class LimelightHelpers.LimelightResults
java.lang.Object
frc.spectrumLib.vision.LimelightHelpers.LimelightResults
- Enclosing class:
LimelightHelpers
Limelight Results object, parsed from a Limelight's JSON results output.
-
Field Summary
FieldsModifier and TypeFieldDescriptiondouble[]doubledoubledouble[]double[]double[]doubledoubledouble[]double[]double[]doubledoubledoubledoubledouble[]doubledoublelongdoublelonglongdoubledoubledoubledoubleboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the bot pose 2d.Returns the bot pose 2d wpi blue.Returns the bot pose 2d wpi red.Returns the bot pose 3d.Returns the bot pose 3d wpi blue.Returns the bot pose 3d wpi red.
-
Field Details
-
error
-
pipelineID
public double pipelineID -
latency_pipeline
public double latency_pipeline -
latency_capture
public double latency_capture -
latency_jsonParse
public double latency_jsonParse -
timestamp_LIMELIGHT_publish
public double timestamp_LIMELIGHT_publish -
timestamp_RIOFPGA_capture
public double timestamp_RIOFPGA_capture -
timestamp_nt
public long timestamp_nt -
timestamp_sys
public long timestamp_sys -
timestamp_us
public long timestamp_us -
valid
public boolean valid -
pipelineType
-
tx
public double tx -
ty
public double ty -
tx_nocrosshair
public double tx_nocrosshair -
ty_nocrosshair
public double ty_nocrosshair -
ta
public double ta -
botpose
public double[] botpose -
botpose_wpired
public double[] botpose_wpired -
botpose_wpiblue
public double[] botpose_wpiblue -
botpose_tagcount
public double botpose_tagcount -
botpose_span
public double botpose_span -
botpose_avgdist
public double botpose_avgdist -
botpose_avgarea
public double botpose_avgarea -
botpose_orb
public double[] botpose_orb -
botpose_orb_wpiblue
public double[] botpose_orb_wpiblue -
botpose_orb_wpired
public double[] botpose_orb_wpired -
camerapose_robotspace
public double[] camerapose_robotspace -
hardware
-
imuResults
-
rewindStats
-
pythonOutput
public double[] pythonOutput -
targets_Retro
-
targets_Fiducials
-
targets_Classifier
-
targets_Detector
-
targets_Barcode
-
-
Constructor Details
-
LimelightResults
public LimelightResults()Creates a new LimelightResults instance.
-
-
Method Details
-
getBotPose3d
-
getBotPose3d_wpiRed
Returns the bot pose 3d wpi red.- Returns:
- the bot pose 3d wpi red
-
getBotPose3d_wpiBlue
Returns the bot pose 3d wpi blue.- Returns:
- the bot pose 3d wpi blue
-
getBotPose2d
-
getBotPose2d_wpiRed
Returns the bot pose 2d wpi red.- Returns:
- the bot pose 2d wpi red
-
getBotPose2d_wpiBlue
Returns the bot pose 2d wpi blue.- Returns:
- the bot pose 2d wpi blue
-