Hi @DavidShaer
The script is meant to be used with a single device. How are you handling the multiple device instances? Please also check the resource usage for the script during runtime.
Thanks,
Jaka
Hi @DavidShaer
The script is meant to be used with a single device. How are you handling the multiple device instances? Please also check the resource usage for the script during runtime.
Thanks,
Jaka
Hi,
In order to connect multiple cameras - I used getAllAvailableDevices function.
I uploaded the script and the log with the resource usage here
Thanks
David
Hi @DavidShaer ,
You are likely seeing this issue due to insufficient power. The USB3 hub you are using is powered by 5V/4A power supply, which is likely at the limit of supplying power to 3 cameras.
While average power usage is around 5w for these cameras, there are random spikes of 2w (so up to 7w). Maybe once every hour all 3 of the cameras have this power spike at the exact same time, hub can't provide enough current, and cameras (maybe only one) brownout.
Have you already tried:
Hi @erik
So in order to check if we have a power related issue I did couple of changes as following:
a. connected the OAK-D camera directly to the Jetson (with the original cable and Y-adapter with power)
b. connected the other two OAK1-lite cameras via USB-Hub with power (the Hub specifications described in the previous message^)
c. reducing the Frame Rate to 5 Fps
And I ran two experiments:
The script I ran is the same as the previous one I shared, but with one difference of the FPS setting, relevant script attached here
Note:
We notice in the logs "ping was missed" message, maybe it is related.
Thanks,
David
Hi @DavidShaer ,
Could you share some images/video of your setup? I'd also suggest checking "Connection drop" tab in USB connection debugging docs. Also, are you using the latest depthai version (2.25)?
Thanks, Erik
Hi @erik,
We run couple of tests as follows:
Test #1 (the previous test we sent in the last message):
Test #2 (new test: connecting all three cameras via Y-Adapter and power supply):
You can see some images of the Setup here
depthai version: 2.25
We used original Luxonis Cables and Power suppliers.
We'll be happy for your help.
Thanks,
David
Hi @DavidShaer
This seems to be a bigger problem, likely related to Jetsons only. The syslog and dmesg give no valuable info so we will try to debug this in depth.
Will report back when we get an idea of what the cause is.
Thanks,
Jaka
jakaskerl Thanks
Hi, I have a similar issue with the Orin nx 16GB module(Jetpack 5.1.2) with FFC-4P, where the device disconnects randomly (sometimes it works for 4-5 hours and sometimes 10 minutes).
I have also tried using UBS2, and it still disconnects randomly.
But when I run the same code with Xavier NX, everything works as expected.
So, if there are any updates regarding this issue, please let us know … it will be very helpful.
Thanks
@jakaskerl Are you guys actively looking at this issue? Any updates will help us decide on that platform.
Hector
We tested this multiple times, everything points to the issue being on jetson's USB drivers. The port stops giving power, looks to the OAK device as a standard USB disconnect, nothing too suspicious.
PoE devices work as expected. We will try with Jetpack6 as well to see if there is any difference in driver setup but I'm doubtful whether it will work.
Thanks,
Jaka
Please try with Jetpack 6 that would be very helpful. Are there any timelines you can provide for this?