RuntimeError: Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND with OAK-D Pro PoE
See original GitHub issueCheck if issue already exists I found this post, but I couldn’t solve my issue.
Describe the bug I run the simple python scripts in this section but I got following error.
Traceback (most recent call last):
File "sample.py", line 16, in <module>
with dai.Device(pipeline, device_info) as device:
RuntimeError: Failed to find device after booting, error message: X_LINK_DEVICE_NOT_FOUND
To Reproduce [Environment] PoE Hub: NETGEAR GS108PE (15.4W/port) Architecture: x86_64 OS: Ubuntu 20.04.4 LTS IP address and subnet mask: 169.254.1.1, 255.255.0.0 (Success to ping to 169.254.1.222) Python version: 3.8.10 Depthai version (installed by pip): 2.17.1.0
Run following scripts.
import cv2
import depthai as dai
pipeline = dai.Pipeline()
camRgb = pipeline.createColorCamera()
xoutRgb = pipeline.createXLinkOut()
xoutRgb.setStreamName("rgb")
camRgb.preview.link(xoutRgb.input)
device_info = dai.DeviceInfo("169.254.1.222")
device_info.state = dai.XLinkDeviceState.X_LINK_BOOTLOADER
device_info.protocol = dai.XLinkProtocol.X_LINK_TCP_IP
with dai.Device(pipeline, device_info) as device:
qRgb = device.getOutputQueue(name="rgb", maxSize=4, blocking=False)
while True:
cv2.imshow("rgb", qRgb.get().getCvFrame())
if cv2.waitKey(1) == ord('q'):
break
Expected behavior A window show images captured by camera should be given.
Issue Analytics
- State:
- Created a year ago
- Comments:23 (4 by maintainers)
Top Results From Across the Web
RuntimeError: Failed t...after booting, error message - Luxonis
Hi, so i am having the following issue: python3 main.py [192.168.1.7] [88.288] [system] [warning] Calibration Data on device is empty
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Changing depth-ai version worked for me. https://github.com/luxonis/depthai-ros-examples/issues/57
Thanks for your help!
It looks like the issue was that we had the machine on WiFI and the camera on a cable. It shares a network, but maybe something caused the TCP connection to fail.