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

slam gmapping create a map using a bag file

asked 2020-08-19 01:08:20 -0500

KcR gravatar image

I am trying to make a map using a bag file following this tutorial. However, when I run map server to save the map I receive a massage that saying "Waiting for a map" but nothing seems to be happening. There are few similar questions and answere but none of them are working in my situation. I am using Ubuntu 18.04 and ROS Melodic.

I would appreciate a little help. Thank you.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2022-05-24 03:27:26 -0500

Joe28965 gravatar image

I'm guessing when you run map server you mean this line from the README:

rosrun map_server map_saver map:=/rtabmap/proj_map –f my_map_1

The part map:=/rtabmap/proj_map tells the map_saver on what topic the map is published. Could you verify that the topic exists?

edit flag offensive delete link more
0

answered 2022-05-22 16:18:58 -0500

Zuhair95 gravatar image

Did you check the Rviz output details ?

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-08-19 00:05:19 -0500

Seen: 521 times

Last updated: May 24 '22