gazebo_ros_2Dmap_plugin
Closed this issue · 0 comments
NamTruongTran commented
Hey,
sorry to bother you. Curretnly i trying to use the plugin in ros1.
I tried it with simple turtlebot3_world map but it doesn't work.
1.I include the plugin into my .world file
2.I started tb3: roslaunch turtlebot3_gazebo turtlebot3_world.launch
3.I call the service rosservice call /gazebo_2Dmap_plugin/generate_map (After i call the servicei getting the following message: Occupancy Map generation completed )
4.Lastly i saved the map: rosrun map_server map_saver -f test /map:=/map2d
After step 4, i got 2 files:
test.yaml
test.pgm
But the pgm is not the desire grid map of the turtlbot3 world: https://ibb.co/wNB2HdN
I really appreciate your time. Thank you.