Ask Your Question

How to visualize gmapping progress on rviz?

asked 2013-09-18 06:24:58 -0500

cognitiveRobot gravatar image

Hi everyone,

I managed to run gmapping to build a map from logged data. progress is going on for an hour. sequences i followed

$roscore $rosparam set use_sim_time true $rosrun gmapping slam_gmapping scan:=base_scan $rosbag play

Is there any way I can visualize progressing map real time?

best regards Hossain

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-09-18 06:53:44 -0500

Dereck gravatar image

In rviz, you should be able to add a map display on the left of the screen. Then set the topic to /map which is the default from gmapping. YOu might then need to set the 'fixed frame' to /map as well at the top left of rviz.

rviz shouldn't care that you are using a bagfile vs realtime topic data stream. :)

edit flag offensive delete link more



Thanks a lot Dereck. It worked.

cognitiveRobot gravatar image cognitiveRobot  ( 2013-10-02 06:59:46 -0500 )edit

I'm glad! It would be cool if you could mark the answer as correct by clicking the checkmark to the left. :)

Dereck gravatar image Dereck  ( 2013-10-02 07:21:23 -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


Asked: 2013-09-18 06:24:58 -0500

Seen: 3,060 times

Last updated: Sep 18 '13