Robotics StackExchange | Archived questions

Automatically generate a 2D occupancy grid from a world generated using Gazebos build editor

Is there a way to get a .pgm and .yaml file related to a 2d occupancy grid given a world file generated in Gazebo using the build editor?

The current method is building a world in Gazebo, and teleoping a robot in the given environment using gmapping, and getting the map using mapserver and mapsaver, which is a manual process that I would like to avoid.

Asked by surfertas on 2017-04-28 02:53:31 UTC

Comments

Can you please help with the plugin using these manual steps

Asked by CR7 on 2020-05-29 02:29:47 UTC

Answers

I have written ROS2 service based on gazebo world plugin to get 2D (.pgm) & 3D (point cloud .pcd) maps. Checkout -> https://github.com/arshadlab/gazebo_map_creator/tree/master

Asked by Arshad on 2023-06-25 00:59:18 UTC

Comments