Skip to content

Commit 13ff23b

Browse files
committed
fix some type errors on initializing queue
1 parent 13dd1d9 commit 13ff23b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/modules/imaging/camera.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,9 @@ def start(self):
155155
"""Start the depth-perception process on the OAK-D"""
156156
print("Starting OAK-D Connection")
157157
self.device = dai.Device(self.pipeline)
158-
self.queue = self.device.getOutputQueue("out", maxSize=1, blocking=False)
158+
self.queue = self.device.getOutputQueue("out")
159+
self.queue.setBlocking(False)
160+
self.queue.setMaxSize(1)
159161

160162
def stop(self):
161163
"""Stop the depth-perception process"""

0 commit comments

Comments
 (0)