• DepthAI
  • OAK-D-S2 PoE multi-cams error

I've been trying to run 2x OAK-D's with the depthai-experiments gen2-multiple-devices example found on github and it keeps failing.

I've tried stand-alone script to run each individual cam and both work… so technically can run 2 terminals and have both feeds up at the same time… (one cam is at .251 and other at .252 IP address

Edited single-specified_IP-cam from (https://docs.luxonis.com/projects/hardware/en/latest/pages/guides/getting-started-with-poe/)

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("192.168.88.251")

# device_info = depthai.DeviceInfo("14442C108144F1D000") # MXID

# device_info = depthai.DeviceInfo("3.3.3") # USB port name

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

however when I run the main.py of the gen2-multi-cam example (luxonis/depthai-experimentstree/master/gen2-multiple-devices) I get the following error:

NMAP command shows the cams IP are correct:

(VENV) jetty@jetty-desktop  ~/Desktop  nmap -T5 -sn 192.168.88.0-255

Starting Nmap 7.80 ( https://nmap.org ) at 2024-02-07 11:58 CET

Nmap scan report for _gateway (192.168.88.1)

Host is up (0.00065s latency).

Nmap scan report for 192.168.88.251

Host is up (0.0010s latency).

Nmap scan report for 192.168.88.252

Host is up (0.00090s latency).

Nmap scan report for jetty-desktop (192.168.88.253)

Host is up (0.00014s latency).

Nmap done: 256 IP addresses (4 hosts up) scanned in 1.78 seconds

  • Solved my issue. Connected via a different computer (x86-64 based instead of my ARM based Jetson Orin Nano) and proceeded to use the device_manager.py from depthai-python repo on github. Flashing both cams to latest firmware and then re-trying to connect on the Jetson now works!

Solved my issue. Connected via a different computer (x86-64 based instead of my ARM based Jetson Orin Nano) and proceeded to use the device_manager.py from depthai-python repo on github. Flashing both cams to latest firmware and then re-trying to connect on the Jetson now works!