RobustFieldAutonomyLab / LeGO-LOAM

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

Adapting LeGO-LOAM for different LiDARS #74

Closed ghost closed 5 years ago

ghost commented 5 years ago

Hi, I am trying to use the LeGO-LOAM tool for mapping purpose using the Ouster(OS1_16) LiDAR. Can anyone please tell me what I should change apart from the Utility.h, imageprojection.cpp file to adjust the configuration?

Thanks Ashik

TixiaoShan commented 5 years ago

Hi @Ashik19 Please refer to this question, which you just asked on May 28, 2019, to use OS-1-16.

https://github.com/RobustFieldAutonomyLab/LeGO-LOAM/issues/70

ghost commented 5 years ago

Thank you very much for your kind reply @TixiaoShan. But unfortunately, when I am running the Lego loam it seems like when I am using the odom_ laser frame it moves by itself in a circular manner even though I do not move my LiDAR unit. I guess apart from the utility.h and imageprojection.cpp there are some other settings that need to be changed to work with ouster LiDAR. Can you please help me with this issue.

ghost commented 5 years ago

And one more question whenever I am trying to record a rosbag with point cloud2 topic(/os1_cloud_node/points) using ouster os1-16 LiDAR. Irrespective of my recording duration whenever I convert my bag into pcd I always get the same number of data points. Can you please tell me where I am making mistakes? Also it seems like recording the pointcloud2 gets a very big bag file size within the short time. My final goal is to make a map using the LiDAR. It would be very kind of you if you could help me with this issue.

TixiaoShan commented 5 years ago

@Ashik19 I just ran a bag file that was posted in https://github.com/RobustFieldAutonomyLab/LeGO-LOAM/issues/72

Maybe you can take a look at that bag file. I guess something is wrong with your data.