Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter camera by USB port id #217

Closed
doisyg opened this issue Feb 1, 2023 · 2 comments
Closed

Filter camera by USB port id #217

doisyg opened this issue Feb 1, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@doisyg
Copy link

doisyg commented Feb 1, 2023

Start with the why:

For multiple cameras systems in production, it becomes quickly complex to manage a long list of camera serial numbers (current filter with i_mx_id). An alternative could be to filter by USB port id as it is done classically for cameras in ROS, see for instance usb_port_id in https://github.com/IntelRealSense/realsense-ros

Move to the what:

Add a parameter usb_port_id to depthai_ros_driver::Camera for the driver to open only the camera plugged to the corresponding port

Move to the how:

@mattmacleod

it would mean quite a few changes to depthai-core as well to expose USB bus information in the Device class

@doisyg doisyg added the enhancement New feature or request label Feb 1, 2023
@Serafadam
Copy link
Collaborator

Thanks for that request, this shouldn't be a big issue to add it 👍

@Serafadam
Copy link
Collaborator

Added in #229, available on v2.6.3

@Serafadam Serafadam self-assigned this Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants