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

Add publisher_name to enable multiple YOLO cameras #291

Merged
merged 1 commit into from
May 12, 2023
Merged

Add publisher_name to enable multiple YOLO cameras #291

merged 1 commit into from
May 12, 2023

Conversation

roboav8r
Copy link

Trying to launch multiple OAK-D devices with yolov4_publisher.launch results in the following errors, which shut down any additional nodes:

[ WARN] [1682021846.705231965]: Shutdown request received.
[ WARN] [1682021846.706189721]: Reason given for shutdown: [[/oak_state_publisher] Reason: new node registered with same name]
[ WARN] [1682021846.871090300]: Shutdown request received.
[ WARN] [1682021846.871929326]: Reason given for shutdown: [[/yolov4_publisher] Reason: new node registered with same name]

Additional oak_state_publisher instances can be launched by adjusting camera_model, tf_prefix, or base_frame arguments when launching yolov4_publisher.launch, but there are no arguments to enable multiple yolov4_spatial_node instances. This edit allows a node name to be specified as an argument, preventing the shutdown request and enabling multiple OAK-Ds to be launched with yolov4_publisher.launch.

@Serafadam Serafadam merged commit d483dbb into luxonis:noetic May 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants