Class VisionRunner

java.lang.Object
org.photonvision.vision.processes.VisionRunner

public class VisionRunner extends Object
VisionRunner has a frame supplier, a pipeline supplier, and a result consumer
  • Constructor Details

    • VisionRunner

      public VisionRunner(FrameProvider frameSupplier, Supplier<CVPipeline> pipelineSupplier, Consumer<CVPipelineResult> pipelineResultConsumer, QuirkyCamera cameraQuirks)
      VisionRunner contains a thread to run a pipeline, given a frame, and will give the result to the consumer.
      Parameters:
      frameSupplier - The supplier of the latest frame.
      pipelineSupplier - The supplier of the current pipeline.
      pipelineResultConsumer - The consumer of the latest result.
  • Method Details

    • startProcess

      public void startProcess()