Class VisionRunner
java.lang.Object
org.photonvision.vision.processes.VisionRunner
VisionRunner has a frame supplier, a pipeline supplier, and a result consumer
-
Constructor Summary
ConstructorDescriptionVisionRunner
(FrameProvider frameSupplier, Supplier<CVPipeline> pipelineSupplier, Consumer<CVPipelineResult> pipelineResultConsumer, QuirkyCamera cameraQuirks, VisionModuleChangeSubscriber changeSubscriber) VisionRunner contains a thread to run a pipeline, given a frame, and will give the result to the consumer. -
Method Summary
-
Constructor Details
-
VisionRunner
public VisionRunner(FrameProvider frameSupplier, Supplier<CVPipeline> pipelineSupplier, Consumer<CVPipelineResult> pipelineResultConsumer, QuirkyCamera cameraQuirks, VisionModuleChangeSubscriber changeSubscriber) 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()
-