map using gmapping Kinect waiting for the map [closed]

asked 2013-07-30 09:29:02 -0600

salime gravatar image

updated 2016-10-24 08:35:12 -0600

ngrennan gravatar image

I am trying to complete the 2D-Navigation with Kinect and a two-wheel robot, when I following this tutorial to build the map

What I do is the following: 1) I run the pointcloud_to_laserscan: roslaunch pointcloud_to_laserscan kinect_laser.launch which it works, because I ` have proved it before. 2)rosrun rviz rviz 3) rosrun gmapping slam_gmapping scan:=scan (scan is the base_scan topic) 4) rosbag play --clock example.bag, I wait for this to finish and finally rosrun map_server map_saver.

But it says waiting for the map every time.

I use rosrun gmapping slam_gmapping scan:=scan, (being scan my base_scan topic), and

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2016-04-27 01:55:59.617421


before running map_server node can you confirm that /map topic is getting published by using rostopic list?

Zee-Q gravatar image Zee-Q  ( 2013-08-01 18:01:05 -0600 )edit

Yes, in the rostopic, is this list /cloud_throttled /goal /initialpose /kinect_laser/parameter_descriptions /kinect_laser/parameter_updates /map /map_metadata /openni_manager/bond /rosout /rosout_agg /scan /slam_gmapping/entropy /tf .... so the /map topic is there, but in rviz I can not see that topic

salime gravatar image salime  ( 2013-08-02 06:03:19 -0600 )edit

Check out by rosrun tf view_frames that all of the frames are connected and also check that your map has data by rostopic echo /map and it is publishing any data?

Zee-Q gravatar image Zee-Q  ( 2013-08-02 12:21:48 -0600 )edit

When I run rosrun tf view_frames... I get this: Listening to /tf for 5.000000 seconds Done Listening dot - graphviz version 2.26.3 (20100126.1600) Detected dot version 2.26.3 frames.pdf generated and when I run rostopic echo /map.... I get nothing.... the terminal is empty

salime gravatar image salime  ( 2013-08-06 09:57:09 -0600 )edit