mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-20 00:51:41 +00:00
13 lines
356 B
Python
13 lines
356 B
Python
from .ChameleonPipeLine import ChameleonPipeline
|
|
|
|
|
|
class ChameleonCamera:
|
|
|
|
def __init__(self, dic):
|
|
self.pipelines = {}
|
|
|
|
for pipeline_id in dic["pipelines"]:
|
|
self.pipelines[pipeline_id] = ChameleonPipeline(dic[pipeline_id])
|
|
|
|
def change_value(self, pipline_id, key, value):
|
|
self.pipelines[pipline_id][key] = value |