Skip to content

Commit

Permalink
Add publisher_name to enable multiple YOLO cameras (#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
roboav8r authored May 12, 2023
1 parent 7596da6 commit d483dbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion depthai_examples/launch/yolov4_publisher.launch
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<arg name="tf_prefix" default="oak" />
<arg name="base_frame" default="oak-d_frame" />
<arg name="parent_frame" default="oak-d-base-frame" />
<arg name="publisher_name" default="yolov4_publisher" />

<arg name="cam_pos_x" default="0.0" /> <!-- Position respect to base frame (i.e. "base_link) -->
<arg name="cam_pos_y" default="0.0" /> <!-- Position respect to base frame (i.e. "base_link) -->
Expand Down Expand Up @@ -35,7 +36,7 @@
<arg name="cam_yaw" value="$(arg cam_yaw)" />
</include>

<node name="yolov4_publisher" pkg="depthai_examples" type="yolov4_spatial_node" output="screen" required="true">
<node name="$(arg publisher_name)" pkg="depthai_examples" type="yolov4_spatial_node" output="screen" required="true">
<param name="tf_prefix" value="$(arg tf_prefix)" />
<param name="camera_param_uri" value="$(arg camera_param_uri)"/>
<param name="sync_nn" value="$(arg sync_nn)"/>
Expand Down

0 comments on commit d483dbb

Please sign in to comment.