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

convert multiple .pcd files into one PCD file

asked 2019-06-28 18:01:26 -0500

Nurbek gravatar image

Hello everyone,

whenever I try to convert .bag file using the following command:

rosrun pcl_ros bag_to_pcd input_file.bag topic output_directory

to pcd file, I am getting multiple pcd files.

How can I obtain single pcd file from a bag file, using point_cloud_assembler. Or I should use laser_cloud_assembler?

I think my .bag file contains point clouds, so that I should extract data in order to create .pcd file. After I want to use this pcd file to convert it into stl file in cloudcompare in order to use it gazebo world

edit retag flag offensive close merge delete


have you solved this. ?

Mathur gravatar image Mathur  ( 2020-04-07 08:55:43 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2019-06-28 18:06:15 -0500

AM97 gravatar image

updated 2019-06-28 18:17:28 -0500

You can use laser_cloud_assembler. I think link text and link text this will help you. After doing this hopefully you will get one PCD Data then you can use cloudcompare to convert into stl file and you can import that stl file in the gazebo.

edit flag offensive delete link more


yes, they helped a lot, thanks!

Nurbek gravatar image Nurbek  ( 2019-07-03 18:12:03 -0500 )edit

Question Tools



Asked: 2019-06-28 18:01:26 -0500

Seen: 1,854 times

Last updated: Jun 28 '19