Class CVPipelineResult

java.lang.Object
org.photonvision.vision.pipeline.result.CVPipelineResult
All Implemented Interfaces:
Releasable
Direct Known Subclasses:
CalibrationPipelineResult, DriverModePipelineResult

public class CVPipelineResult extends Object implements Releasable
  • Field Details

    • sequenceID

      public final long sequenceID
    • processingNanos

      public final double processingNanos
    • fps

      public final double fps
    • targets

      public final List<TrackedTarget> targets
    • inputAndOutputFrame

      public final Frame inputAndOutputFrame
    • multiTagResult

      public Optional<MultiTargetPNPResult> multiTagResult
    • objectDetectionClassNames

      public final List<String> objectDetectionClassNames
  • Constructor Details

  • Method Details

    • hasTargets

      public boolean hasTargets()
    • release

      public void release()
      Specified by:
      release in interface Releasable
    • getLatencyMillis

      @Deprecated public double getLatencyMillis()
      Deprecated.
      Get the latency between now (wpi::Now) and the time at which the image was captured. FOOTGUN: the latency is relative to the time at which this method is called. Waiting to call this method will change the latency this method returns.
    • getProcessingMillis

      public double getProcessingMillis()
    • getImageCaptureTimestampNanos

      public long getImageCaptureTimestampNanos()
    • setImageCaptureTimestampNanos

      public void setImageCaptureTimestampNanos(long imageCaptureTimestampNanos)