0
$\begingroup$

Rosanswers logo

Hi, I am using Autoware v1.1 software in Ubuntu 16.04 (Kinetic) platform. Autoware software uses ROS functionalities. I want to combine/stitch 16 pcd files [eg. 1.pcd, 2.pcd, 3.pcd and so on] and create a global pcd file. When I upload pcd files for Mapping in Runtime Manager tab of the Autoware software, it gives me an overlapped map of those pcd files. I followed @wallizadaM and @kitsukawa [GitHub.com, issue #533, topic: Stitching the .pcd mapps] who were describing their method for combining pcd files. However, I don't have the ndt_localizer package which @wallizadaM suggested to manually combine pcd files and @kitsukawa method weren't suitable for my aim. Can you help me solve this problem? How can I combine or stitch muliple pcd files (local maps) to create a global pcd file?


Originally posted by Badhan on ROS Answers with karma: 1 on 2019-07-03

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

Take a look on the libpointmatcher library. As it says:

How to I build a global map from a sequence of scans? See the example align_sequence.cpp.

I think this contains what you need!


Originally posted by kosmastsk with karma: 210 on 2019-07-03

This answer was ACCEPTED on the original site

Post score: 0


Original comments

Comment by Badhan on 2019-07-03:
The link which you gave me doesn't open. I am unable to see the example align_sequence.cpp. Is align_sequence.cpp a source file of the Autoware software?

Comment by kosmastsk on 2019-07-03:
The file is in here. It is a library totally different from Autoware, but it can handle .pcd files the way you want.

Comment by Badhan on 2019-07-09:
Hi. Thankyou for giving me the cpp file. However, I don't know how to use it for combining pcd files. Can you please help me on that?

Comment by Badhan on 2019-07-25:
The align.cpp file that you gave me only reads the point cloud data from a file and creates a map. I am looking for a package that will allow me to combine multiple pcd files containing point cloud maps into a pcd file containing the combined map generated from maps of multiple pcd files using that particular package. Can anyone help me??

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.