ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hello ZeroSan,

your question is actually relating to a concept called remapping. What you want to do is to remap depth_image_proc/point_cloud_xyz topics to your topics.

You can do it in two ways... First, remap it directly by doing the following:

rosrun depth_image_proc point_cloud_xyz camera_info:=camera/depth/camera_info image_rect:=/face_detectoe/depth_image_roi

Second, you could write a launch file in which you can use remap tag.

<node pkg="depth_image_proc" type="point_cloud_xyz" name="point_cloud_xyz">
    <remap from="camera_info" to="camera/depth/camera_info"/>
    <remap from="image_rect" to="/face_detectoe/depth_image_roi"/>
</node>

You can read more about remapping here and here.

If you have any further questions, feel free to ask. :)