ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Welcome to ROS Answers, Alkaros!
After reading through your question I believe the point cloud is actually what you are looking for. There is already an application in the turtlebot_follower package, which does something similar to what you are trying to achieve. It uses the point cloud generated by the 3D sensor - RViz is not creating the pointcloud, but only visualising it - to track peoples legs in order to follow them. For this the depth information of the point cloud is used.
However, if for other reasons you like to use depth information only, then you should look at the /camera/depth/image_raw
topic. Through it you can receive the depth data of the 3D sensor as an image stream.
Hope this helps!
2 | No.2 Revision |
Welcome to ROS Answers, Alkaros!
After reading through your question I believe the point cloud is actually what you are looking for. There is already an application in the turtlebot_follower package, which does something similar to what you are trying to achieve. It uses the point cloud generated by the 3D sensor - RViz is not creating the pointcloud, but only visualising it - to track peoples legs in order to follow them. For this the depth information of the point cloud is used.
However, if for other reasons you like to use depth information only, then you should look at the /camera/depth/image_raw
ROS topic. Through it you can receive the depth data of the 3D sensor as an image stream.
Hope this helps!