[ROS] In a multiple sensor setup how do I fix the USB port for each camera?

In a multiple camera setup, I can’t access the device ID and I only can access each camera through the usb bus ID, but when some of the camera re-start (idk why) this id changes and I can have the setup working correctly.

You can use the S/N to control the cameras. Please use the sample code:

as a reference.

I’m not interested in using the S/N because i’m working with different cameras all the time. I need to use a fixed usb port, but I don’t know how.

And when I’m passing to “device_id” in the form of “x@y” I can’t handle with usb disconnections as this id changes when a camera reconnects