Add push to hub, Camera 0 and 1, pynput optional

This commit is contained in:
Remi Cadene
2024-07-14 16:35:22 +02:00
parent 3fc351074c
commit d2a17d2c74
4 changed files with 30 additions and 18 deletions

View File

@@ -36,8 +36,8 @@ def make_robot(name):
),
},
cameras={
"laptop": OpenCVCamera(1, fps=30, width=640, height=480),
"phone": OpenCVCamera(2, fps=30, width=640, height=480),
"laptop": OpenCVCamera(0, fps=30, width=640, height=480),
"phone": OpenCVCamera(1, fps=30, width=640, height=480),
},
)
else: