-
Notifications
You must be signed in to change notification settings - Fork 806
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
PointCloud2 to Gridmap? #158
Comments
Hi @aybakana! A point cloud and a grid map are very different formats, which cannot just be converted. You’ll have to do a mapping from the individual points of the point cloud to the values of the cells in the grid map. We have an elevation mapping framework that could help you with this. |
I converted PointCloud2 message into Octomap message using octomap_server node and then Octomap message into Gridmap message using "octomap_to_gridmap_demo_node.cpp" node. It seems okay. This was what I meant. Can you not add a node to do this conversion at once? I already want to convert the point cloud map into a gridmap. We should be able to do this conversion with or without mapping. |
I realize this is an old issue but i think it could be a nice feature to be able to load a cloud and turn it into an occupancy grid. |
@aybakana could you tell me how to convert octomap message into gridmap using gridmap_to_octomap_demo ? |
Sorry, I've mistakenly written gridmap_to_octomap, it must be octomap_to_gridmap_demo_node |
@aybakana` Thanks, yeah I am using octomap_to_gridmap_demo_node to convert the octomap published by the octomap_server node. However, I could not send the node output to the octomap_to_grid node. Here is my launch file. ` ` |
You must have forgotten to remap the point cloud input of octomap server. Can you try this? I have assumed that your sensor range is 100m and point cloud topic is /velodyne_points and resolution for octomap is 0.05. You can change them as you wish. |
I saw there is a directory called grid_map_pcl. Is it designed for converting PointCloud to GridMap? If it is, could demo be provided? |
Hii , I want generate 2D Obstacle grid map via. RGBD image sequentially taken by robot via. first converting each RGBD image into point clouds then projecting point clouds to get local map and then to get entire map of the environment?? Is there such Package available in ROS or PCL Libraries?? |
Yes, https://github.com/ANYbotics/elevation_mapping should do exactly what you want. |
Can I just convert a PointCloud2 message into Gridmap? How can I do that?
The text was updated successfully, but these errors were encountered: