saving depth image into pcd
Hi,
I would like to save the depth images into pcd format files which I viewed in rviz through openni_kinect. Can someone gives some clues? Thanks
Best, Kang
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Hi,
I would like to save the depth images into pcd format files which I viewed in rviz through openni_kinect. Can someone gives some clues? Thanks
Best, Kang
Hey Kang,
There is a PCL tutorial on writing point cloud data to PCD files available here. Additionally, there is a simple tool called pointcloud_to_pcd which does this and is located in the pcl_ros folder. You would run something along the lines of:
rosrun pcl_ros pointcloud_to_pcd input:=/camera/depth/points2
if your depth data was being published on /camera/depth/points2. The node would then write a PCD file for each message it received.
Hope this helps,
Peter
Asked: 2011-05-19 20:59:17 -0600
Seen: 2,280 times
Last updated: May 19 '11
Navigation planning based on kinect data in 2.5D?
How to segment/extract a sphere using pcl_ros?
Best toolchain for recording kinect data and converting to pointcloud offline?
How can I use NARF in PCL libray for Object regconition
simulating kinect sensor in Gazebo
VSLAM based navigation with Kinect, where do I begin?
Problems with python when trying to control a Nao robot with a Kinect