-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2D map for 3D lidar #3
Comments
I am also looking to do this. I have started by attempting to use the pointcloud_to_laserscan ROS package to convert the 3D point cloud to 2D LaserScan. This requires the PointCloud data to be converted into the PointCloud2 datatype, which I have done in the yrl_pub.cpp node. I use the following parameters for the pointcloud_to_laserscan package: I also changed line 232 of the yrl_pub.cpp file from: This results in the scan topic having mostly inf or range_max+1 values, so the package is rejecting most of the pointcloud values. if I increase the max_height, there are less inf values but still quite a lot. It seems similar to the issue this user has https://answers.ros.org/question/205552/pointcloud_to_laserscan-rotation-of-scan-line/ - Can you please advise on how to convert the pointcloud to 2D LaserScans ? |
@vanquang741987 @engineeve We do not have a manual about how to make a 2d or 3d map using ROS Driver. I am just wondering, if pointcloud2 is supported, does conversion from 3D PointCloud to 2D LaserScan become easier? |
Hi @jykim3, Thank you for your reply. I am currently converting the PointCloud to PointCloud2 and successfully using pointcloud_to_laser scan to convert the 3D point cloud to a 2D laserscan. However, as the full scan takes over a second and the time between scans is too long to localize in 2D and when trying to map I get matching errors with the scans and odom. The plan originally was to use ROS 2D amcl navigation with 3D obstacle avoidance. We are open to changing our navigation system to a 3D one or one that better fits the capabilities of the Yujin Lidar - can you advise an opensource nav stack that works well with the 3D lidar ? |
@engineeve sorry for the late reply. why don't you try this package : https://github.com/RobustFieldAutonomyLab/LeGO-LOAM |
Hello~
May I make 2D map from 3d yujin lidar?
Do you have manual to make 2d or 3d map in ROS for AMR?
Thank you so much
The text was updated successfully, but these errors were encountered: