chore(cameras): address unresolved conversations

This commit is contained in:
Steven Palma
2025-05-21 15:41:52 +02:00
parent 95f3e53eba
commit 47d5008407
7 changed files with 32 additions and 26 deletions

View File

@@ -145,7 +145,9 @@ def test_async_read_timeout():
try:
with pytest.raises(TimeoutError):
camera.async_read(timeout_ms=0)
camera.async_read(
timeout_ms=0
) # NOTE(Steven): This is flaky as sdometimes we actually get a frame
finally:
if camera.is_connected:
camera.disconnect()

View File

@@ -110,7 +110,7 @@ def test_read_depth():
camera = RealSenseCamera(config)
camera.connect(warmup=False)
img = camera.read_depth(timeout_ms=500) # NOTE(Steven): Reading depth takes longer
img = camera.read_depth(timeout_ms=1000) # NOTE(Steven): Reading depth takes longer
assert isinstance(img, np.ndarray)