Package frc.robot
Class LimelightHelpers.LimelightResults
- java.lang.Object
-
- frc.robot.LimelightHelpers.LimelightResults
-
- Enclosing class:
- LimelightHelpers
public static class LimelightHelpers.LimelightResults extends java.lang.Object
Limelight Results object, parsed from a Limelight's JSON results output.
-
-
Field Summary
Fields Modifier and Type Field Description double[]
botpose
double
botpose_avgarea
double
botpose_avgdist
double
botpose_span
double
botpose_tagcount
double[]
botpose_wpiblue
double[]
botpose_wpired
double[]
camerapose_robotspace
java.lang.String
error
double
latency_capture
double
latency_jsonParse
double
latency_pipeline
double
pipelineID
LimelightHelpers.LimelightTarget_Barcode[]
targets_Barcode
LimelightHelpers.LimelightTarget_Classifier[]
targets_Classifier
LimelightHelpers.LimelightTarget_Detector[]
targets_Detector
LimelightHelpers.LimelightTarget_Fiducial[]
targets_Fiducials
LimelightHelpers.LimelightTarget_Retro[]
targets_Retro
double
timestamp_LIMELIGHT_publish
double
timestamp_RIOFPGA_capture
boolean
valid
-
Constructor Summary
Constructors Constructor Description LimelightResults()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pose2d
getBotPose2d()
Pose2d
getBotPose2d_wpiBlue()
Pose2d
getBotPose2d_wpiRed()
Pose3d
getBotPose3d()
Pose3d
getBotPose3d_wpiBlue()
Pose3d
getBotPose3d_wpiRed()
-
-
-
Field Detail
-
error
public java.lang.String 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
-
valid
public boolean valid
-
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
-
camerapose_robotspace
public double[] camerapose_robotspace
-
targets_Retro
public LimelightHelpers.LimelightTarget_Retro[] targets_Retro
-
targets_Fiducials
public LimelightHelpers.LimelightTarget_Fiducial[] targets_Fiducials
-
targets_Classifier
public LimelightHelpers.LimelightTarget_Classifier[] targets_Classifier
-
targets_Detector
public LimelightHelpers.LimelightTarget_Detector[] targets_Detector
-
targets_Barcode
public LimelightHelpers.LimelightTarget_Barcode[] targets_Barcode
-
-
Method Detail
-
getBotPose3d
public Pose3d getBotPose3d()
-
getBotPose3d_wpiRed
public Pose3d getBotPose3d_wpiRed()
-
getBotPose3d_wpiBlue
public Pose3d getBotPose3d_wpiBlue()
-
getBotPose2d
public Pose2d getBotPose2d()
-
getBotPose2d_wpiRed
public Pose2d getBotPose2d_wpiRed()
-
getBotPose2d_wpiBlue
public Pose2d getBotPose2d_wpiBlue()
-
-