Livox-SDK / livox_ros_driver

Livox device driver under ros, support Lidar Mid-40, Mid-70, Tele-15, Horizon, Avia.
Other
363 stars 203 forks source link

Rosbag to PointCLoud #95

Closed ManChrys closed 1 year ago

ManChrys commented 3 years ago

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.

Livox-SDK commented 3 years ago

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

ManChrys commented 3 years ago

Ok I see.

Thank you a lot.

ManChrys commented 3 years ago

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