ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

How to save map by using map_server package according to the topics?

asked 2022-05-26 04:57:48 -0500

MirulJ gravatar image

updated 2022-05-26 05:24:15 -0500

I used the multi_map_merge package to merge map from robot 1 and robot 2. But when I used rosrun map_server map_saver -f ~/map, the map is only saved the merge map which is from /map topic. But I also would like to save map from /tb3_0/map and /tb3_1/map topics. I would like to ask how to save map according to the map topics? Thank you in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2022-05-26 05:35:08 -0500

electrophod gravatar image

updated 2022-05-26 05:36:03 -0500

Try this :
rosrun map_server map_saver map:=<your_topic_name>

edit flag offensive delete link more


Thank you very much for the answer

MirulJ gravatar image MirulJ  ( 2022-05-26 22:40:57 -0500 )edit

Question Tools

1 follower


Asked: 2022-05-26 04:57:48 -0500

Seen: 107 times

Last updated: May 26 '22