Class NTDataPublisher
java.lang.Object
org.photonvision.common.dataflow.networktables.NTDataPublisher
- All Implemented Interfaces:
Consumer<CVPipelineResult>
,CVPipelineResultConsumer
-
Constructor Summary
ConstructorDescriptionNTDataPublisher
(String cameraNickname, Supplier<Integer> pipelineIndexSupplier, Consumer<Integer> pipelineIndexConsumer, BooleanSupplier driverModeSupplier, Consumer<Boolean> driverModeConsumer) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(CVPipelineResult result) void
updateCameraNickname
(String newCameraNickname)
-
Constructor Details
-
NTDataPublisher
-
-
Method Details
-
updateCameraNickname
-
accept
- Specified by:
accept
in interfaceConsumer<CVPipelineResult>
-