ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question
1

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
0

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

Comments

Thank you very much for the answer

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 30 times

Last updated: May 26