livox_ros_driver icon indicating copy to clipboard operation
livox_ros_driver copied to clipboard

Rosbag to PointCLoud

Open ManChrys opened this issue 4 years ago • 3 comments

hello,

i would like to ask you how can i convert rosbag to a ply format for example las,laz,ply

i saw that page http://wiki.ros.org/pcl_ros#pointcloud_to_pcd but when im converting bag to pcd it creates a lot of pcds and not one pcd. It is one pcd for every frame.

Any suggestions ? Thanks in advance.

ManChrys avatar Jul 21 '21 06:07 ManChrys

Hi ManChrys,

There is a part of code for saving the pointcloud as pcd in the code livox_mapping can be refered: 64D1A6C0-CADC-2FBA-EAC8-C2A75B879D22

Livox-SDK avatar Jul 23 '21 04:07 Livox-SDK

Ok I see.

Thank you a lot.

ManChrys avatar Jul 23 '21 10:07 ManChrys

Hello @Livox-SDK

i tried livox mapping and the result of pcd has big difference compared to bag file. Is there something else to try ? I have to convert into a common pointcloud format like ply, las, laz so i can import them to point cloud softwares like cloudcompare.

livox_mapping pcd:

Screenshot from 2021-07-24 21-20-54

rosbag (converted from .lvx file)

Screenshot from 2021-07-24 21-28-02

ManChrys avatar Jul 24 '21 18:07 ManChrys