Try to fix cannot_capture by reducing fps

This commit is contained in:
2018-06-24 13:51:57 +02:00
parent 2e64aba593
commit 60dc7d477e
3 changed files with 5 additions and 4 deletions

View File

@@ -24,6 +24,7 @@ class NaoImageReader(object):
self.fps = fps
self.vd = ALProxy('ALVideoDevice', ip, port)
streamer_name = '_'.join(['lower' if cam_id else 'upper', str(res)])
print(streamer_name)
self.sub = self.vd.subscribeCamera(
streamer_name, cam_id, res, 13, fps
)