loam_livox icon indicating copy to clipboard operation
loam_livox copied to clipboard

Possible converted bag can output format that can be opened in CloudCompare or PCL file (Not issue)

Open ns-1m opened this issue 5 years ago • 6 comments

Hi,

It seems that CloudCompare can open and view various XYZ data files.

https://en.wikipedia.org/wiki/CloudCompare

I think it would good if possible that converted bag files can output format that can be opened in CloudCompare.

It seem that PCL is used in this app. http://pointclouds.org/documentation/tutorials/pcd_file_format.php

Thanks.

Noli

ns-1m avatar Nov 19 '19 04:11 ns-1m

Is files with "*.ply" suffix ok? If so, I can provide some tools for saving point cloud as ply files.

ziv-lin avatar Nov 20 '19 02:11 ziv-lin

YES, *.ply file would be good.

Thank you very much.

Noli

ns-1m avatar Nov 20 '19 05:11 ns-1m

Is files with "*.ply" suffix ok? If so, I can provide some tools for saving point cloud as ply files.

I've managed to run your LOAM on Raspberry Pi 4 with Ubuntu 18.04. It works great ! To get an output, I've changed config file if_save_to_pcd_files: 0 to 1, but this doesn't give me end result, it writes .pcd files one by one as they get recorded. Could you please provide tool for .ply export at the end of scanning ?

Vedran

vedran-damjanov avatar Dec 12 '19 13:12 vedran-damjanov

Sorry for replying this issue so late, you can use the tool provided by PCL to convert them as ply files:) For example, you can type the commands to convert them as ply files: pcl_pcd2ply input.pcd output.ply image

In addition, you can also use tools pcl_viewer (also provided by PCL) to visualize the pcd files: like this: pcl_viewer input.pcd image

ziv-lin avatar Dec 12 '19 14:12 ziv-lin

Also, you can directly modify to code of saving *.pcd to change it as *.ply files.

ziv-lin avatar Dec 12 '19 14:12 ziv-lin

Sorry for replying this issue so late, you can use the tool provided by PCL to convert them as ply files:) For example, you can type the commands to convert them as ply files: pcl_pcd2ply input.pcd output.ply image

In addition, you can also use tools pcl_viewer (also provided by PCL) to visualize the pcd files: like this: pcl_viewer input.pcd image

hi,thanks for your great work. in your reply you show us how to convert a single .pcd file to .pcl , but I'm wondering how can we get an output .pcd file after an entire scanning work, changing config 'if_save_to_pcd_files: 0' to 1 didn't help because it writes .pcd files one by one as they get recorded, and we get tons of .pcd files instead of one as we expected. Any reply will be appreciated~

amazingye avatar Jan 06 '20 12:01 amazingye