Skip to content

Commit

Permalink
Merge pull request #2629 from sktometometo/PR/add-frame-id-arg-to-cam…
Browse files Browse the repository at this point in the history
…era-launch

[jsk_perception] add frame_id args to libuvc_camera and usb_cam launch
  • Loading branch information
k-okada authored Oct 5, 2021
2 parents cce4067 + 8744793 commit d9029ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jsk_perception/launch/libuvc_camera.launch
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@
<arg name="frame_rate" />
<arg name="brightness" />
<arg name="gui" default="false" />
<arg name="frame_id" default="$(arg camera_name)_link" />

<group ns="$(arg camera_name)">
<node name="insta_camera_node" pkg="libuvc_camera" type="camera_node">
<param name="frame_id" value="$(arg frame_id)" />
<param name="vendor" value="$(arg vendor)" />
<param name="product" value="$(arg product)" />
<param name="height" value="$(arg height)" />
Expand Down
2 changes: 2 additions & 0 deletions jsk_perception/launch/usb_cam.launch
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<arg name="frame_rate" />
<arg name="brightness" />
<arg name="gui" default="false" />
<arg name="frame_id" default="$(arg camera_name)_link" />

<node pkg="usb_cam" type="usb_cam_node" name="$(arg camera_name)">
<rosparam subst_value="true">
Expand All @@ -16,6 +17,7 @@
pixel_format: $(arg video_mode)
framerate: $(arg frame_rate)
brightness: $(arg brightness)
camera_frame_id: $(arg frame_id)
</rosparam>
</node>

Expand Down

0 comments on commit d9029ae

Please sign in to comment.