# pgm_map_creator
**Repository Path**: SunnyHello123/pgm_map_creator
## Basic Information
- **Project Name**: pgm_map_creator
- **Description**: ROS:使用world文件直接建图
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-07-21
- **Last Updated**: 2020-12-20
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# pgm_map_creator
Create pgm map from Gazebo world file for ROS localization
## Environment
Tested on Ubuntu 16.04, ROS Kinetic, Boost 1.58
## Usage
### Add the package to your workspace
0. Create a catkin workspace
1. Clone the package to the src folder
2. `catkin_make` and source `devel/setup.bash`
### Add the map and insert the plugin
1. Add your world file to world folder
2. Add this line at the end of the world file, before `` tag:
``
### Create the pgm map file
1. Open a terminal, run gzerver with the map file
`gzserver src/pgm_map_creator/world/