mirror of
https://github.com/PhotonVision/photonvision
synced 2026-07-03 03:01:40 +00:00
Cameras dic
Added settings folder, and creating dictionary from the cameras and pipelines
This commit is contained in:
@@ -6,8 +6,5 @@ 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
|
||||
for pipeline_id in dic:
|
||||
self.pipelines[pipeline_id] = ChameleonPipeline(dic[pipeline_id])
|
||||
Reference in New Issue
Block a user