luxonis / depthai-viewer

Log images, point clouds, etc, and visualize them effortlessly. Built in Rust using egui
https://rerun.io
Apache License 2.0
28 stars 2 forks source link

OAK-D-SR cannot initialize on the 0.2.0. Works on 0.1.9 #60

Closed Rontruong closed 4 months ago

Rontruong commented 5 months ago

Okay you all scared me w/ the lack of regression tests. I feel like this sort of bug should not happen and is very easy to wrap unit tests or manual regression tests around. So I just upgraded from 0.1.9 to 0.2.0 and the viewer app is unable to connect to the camera. The error message I'm seeing is

Errror: Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND, Try to connect the device to a different port.

I see in the change logs that there are OAK-D-SR POE changes. Was there a regression from this?

Reverting back to 0.1.9 fixed my problem.

OS: Windows 11

zrezke commented 5 months ago

interesting. For me it works fine on 0.2.0:

image

Could you post the output of calibration_dump.py?


git clone https://github.com/luxonis/depthai-python

cd depthai-python

python examples/install_requirements.py

python examples/calibration/calibration_dump.py

Then copy paste the output, or put it in a file. It could be that you have a different board revision and maybe it's causing the issue.

Rontruong commented 4 months ago

Okay, this is no longer a problem. I don't know which part fixed it

zrezke commented 4 months ago

Glad to hear that it works when installing the new version directly via pip. We have momentarily broken the standalone (installer) due to some experimentation with adding a "latest" tag. The installer should be working again now.