- Edited
I just bought a new OAK-D W camera to evaluate for our robots. I have only gotten the camera to work once, very briefly, with the demo app. I have used an OAK-D Pro successfully, but am having a lot of problems with this new camera.
Camera P/N: OACK-D-W-97
OAK-D Wide OV9782
System: Ubuntu 22.04.2 LTS, Linux 5.19.0-50-generic
I have tried using the depthai_demo.py app, the ros1 launch file examples and the ros2 launch file examples. They generally report the same error:
[1944301071E4722700] [1.1.1.1] [1.718] [ColorCamera(0)] [error] Camera not detected on socket: 0
Here is the full output from the latest fetch of depthai
main branch f5d26aade0a88f4180356c74d753515c38ae0e9b
$ python3 depthai_demo.py
Using depthai module from: /home/travis/.local/lib/python3.10/site-packages/depthai.cpython-310-x86_64-linux-gnu.so
Depthai version installed: 2.21.2.0
Setting up demo...
Available devices:
[0] 1944301071E4722700 [X_LINK_UNBOOTED]
USB Connection speed: UsbSpeed.SUPER
Disabling depth...
Disabling depth preview...
Disabling depthRaw preview...
Disabling left preview...
Disabling rectifiedLeft preview...
Disabling right preview...
Disabling rectifiedRight preview...
[1944301071E4722700] [1.1.1.1] [1.718] [ColorCamera(0)] [error] Camera not detected on socket: 0
Subsequent runs of the depthai_demo.py sometimes produce different errors:
❯ python3 depthai_demo.py
Using depthai module from: /home/travis/.local/lib/python3.10/site-packages/depthai.cpython-310-x86_64-linux-gnu.so
Depthai version installed: 2.21.2.0
Setting up demo...
File "/home/travis/src/depthai/depthai_demo.py", line 656, in run
self.instance.run_all(self.conf)
File "/home/travis/src/depthai/depthai_demo.py", line 132, in run_all
self.setup(conf)
File "/home/travis/src/depthai/depthai_demo.py", line 180, in setup
self._deviceInfo = getDeviceInfo(self._conf.args.deviceId, args.debug)
File "/home/travis/.local/lib/python3.10/site-packages/depthai_sdk/utils.py", line 226, in getDeviceInfo
raise RuntimeError("No DepthAI device found!")
RuntimeError: No DepthAI device found!
After pulling this latest branch, I re-ran python requirements install (python3 install_requirements.py
).
The time that I did get it to work was the first reboot after installing all of the dependencies for the first time. When I tried to change the "SHAVEs" parameter, everything froze, then crashed. After that, I couldn't get reconnected to the camera, even after a reboot.
What do I need to do to fix this? Is this a hardware problem?