luxonis / depthai-viewer

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

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

Open Rontruong opened 1 month ago

Rontruong commented 1 month 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 1 month 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.