Ask Your Question

can't run gmapping scan

asked 2015-02-14 15:36:18 -0500

Bardia gravatar image

I am following the tutorial here to make a simple map from already prepared data:

however, I get stuck at this step:

rosrun gmapping slam_gmapping scan:=base_scan

It takes forever, and does not finish. When I abort the process, I see the following on the screen:

virtual GMapping::GridSlamProcessor::~GridSlamProcessor(): Start virtual GMapping::GridSlamProcessor::~GridSlamProcessor(): Deleting tree

I am new to ROS and gmapping, and would appreciate any help here.

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2015-02-16 06:59:59 -0500

RND gravatar image

Make sure that you are subscribing to the proper laser scan topic since not all laser drivers subscribe to the topic /base_scan. I run sicktoolbox_wrapper laser driver that subscribes the laser readings on the topic /scan rather than /base_scan.

edit flag offensive delete link more

answered 2015-02-14 23:24:29 -0500

The rosrun gmapping command is not intended to finish. It is waiting for laser scan messages and will not begin producing a map estimate until you proceed to the next step of the tutorial (rosbag play...).

edit flag offensive delete link more

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


Asked: 2015-02-14 15:36:18 -0500

Seen: 532 times

Last updated: Feb 16 '15