engcang / oakd-ros-simple

OAK-D (OpenCV AI Kit camera) ROS simple codes with C++
BSD 3-Clause "New" or "Revised" License
38 stars 10 forks source link

X_LINK_DEVICE_NOT_FOUND #4

Closed Devin-Pi closed 1 year ago

Devin-Pi commented 1 year ago

The corresponding error message is shown below. image Actually, I can find and use OAK-D in the docker according to the official python examples. The corresponding information about the environment is listed as follows: Docker container environment: docker run --gpus all -it --ipc=host --net=host --privileged -e DISPLAY=unix$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix:rw -e NVIDIA_DRIVER_CAPABILITIES=all introlab3it/rtabmap:focal /bin/bash Ubuntu: 20.04-LTS Device: OAK-D-PRO-W Could you please help me to solve this problem? Many thanks for helping me!

engcang commented 1 year ago

@RendongPi Hi. Sorry for late. This code assumes you installed every dependencies outside the Docker, not inside the Docker. Did you follow the how to install to install everything properly?

Thanks.

engcang commented 1 year ago

@RendongPi Hi. Did you install every dependencies outside Docker and try again?

Thanks.

engcang commented 1 year ago

Since there has been no further updates, closing the issue.

P.S. I also suffered the problem today and solved it by changing the USB3 cable. I recommend to check $ lsusb, $ dmesg -w, and run depthai_demo.py from official demo first. If you cannot run official demo, solve the cable and connection issue first. It is not the case of my code.

Devin-Pi commented 1 year ago

Since there has been no further updates, closing the issue.

P.S. I also suffered the problem today and solved it by changing the USB3 cable. I recommend to check $ lsusb, $ dmesg -w, and run depthai_demo.py from official demo first. If you cannot run official demo, solve the cable and connection issue first. It is not the case of my code.

Thanks for your reply!