SDF2MAP → Generate ROS 2D Maps Directly from GzSim Worlds

SDF2MAP — SDF to Occupancy Map Converter

SDF2MAP is a lightweight desktop tool that converts Gazebo SDF / World files into 2D occupancy grid maps compatible with the ROS navigation stack.

It automates generating .pgm and .yaml maps directly from simulation environments — eliminating the need for manual map creation.

  • Quickly test navigation and localization algorithms using GzSim maps.

  • Extract 2D map layers at specific heights to match your robot’s LIDAR sensor placement.

  • Seamlessly handle worlds generated by PyRoboSim.

Download & Run:

Get the latest release and instructions from GitHub:



3 Likes