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

How save point clouds in .txt file with rgbdslam

asked 2013-07-10 13:50:39 -0500

lf.wil gravatar image

updated 2014-01-28 17:17:12 -0500

ngrennan gravatar image

Hi, I use rgbdslam to capture point clouds, these clouds are saved as .PCD file. How to save them in .txt file? I'm also confused about which topic published these clouds. When I press "enter" to save the cloud is not published anything in /rgbdslam/batch_clouds is published only in /rgbdslam/aggregate_clouds.

Sorry for possible grammar errors. Thanks.

edit retag flag offensive close merge delete


when you got a .pcd file, you just modify the file name from the .pcd to .txt.and you can use the .txt to read data . hope use for you .

longzhixi123 gravatar image longzhixi123  ( 2013-07-11 21:00:21 -0500 )edit

Was very simple, thanks. Another option save in .ply file.

lf.wil gravatar image lf.wil  ( 2013-07-21 08:25:24 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-07-11 01:19:48 -0500

"Enter" doesn't save the cloud. It processes one. You need to select "Data->Save PC as...", then enter a filename that ends with .ply, e.g. cloud.ply

The file will be in ply format, which is a text based format.

edit flag offensive delete link more


Sorry, I expressed the wrong way. Really, I saved the clouds "Data-> Save the PC ..." as you said. Thanks for the tip save in ply. But I'm still a little confused about the publication of the topics.

lf.wil gravatar image lf.wil  ( 2013-07-21 08:34:38 -0500 )edit

Why do you expect rgbdslam to send the clouds on "batch_clouds"?

Felix Endres gravatar image Felix Endres  ( 2013-07-27 11:47:39 -0500 )edit

Cause I read the tutorial ( "Most people seem to want the registered point cloud. It is by default sent out on /rgbdslam/batch_clouds when you command RGB-D SLAM..." and this led me questions. I intend to manipulate these point clouds jointly with another online algorithm. Currently working with data offline.

lf.wil gravatar image lf.wil  ( 2013-07-28 13:54:00 -0500 )edit

It is sent out if you tell rgbdslam so, by selecting "Data->send model", not by saving to disk (Data->Save the PC).

Felix Endres gravatar image Felix Endres  ( 2013-07-29 01:26:40 -0500 )edit

Question Tools


Asked: 2013-07-10 13:50:39 -0500

Seen: 1,223 times

Last updated: Jul 11 '13