RobustFieldAutonomyLab / LeGO-LOAM

LeGO-LOAM: Lightweight and Ground-Optimized Lidar Odometry and Mapping on Variable Terrain
BSD 3-Clause "New" or "Revised" License
2.4k stars 1.12k forks source link

How to save a map generated from LeGO-LOAM #84

Closed Dinatorehanova closed 5 years ago

Dinatorehanova commented 5 years ago

Hi,

I have got a map from my bag file using the pointcloud2 topic .Can anyone please tell me how i can save it/which format to use it for further analysis.

Thanks Dina

Scrumantic commented 5 years ago

Hi Dina.

One simple way of doing this is by using the function savePCDFileASCII as documented in http://pointclouds.org/documentation/tutorials/writing_pcd.php

I'm using this and it works perfectly. I hope it helps, I plan to document this with more detail and further steps in a future contribution.

Best Regards, Ricardo

Dinatorehanova commented 5 years ago

Hi,

Thank you very much for referring this resource.