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

How to visualize gmapping progress on rviz?

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

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
5

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

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

Comments

1

Thanks a lot Dereck. It worked.

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

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 -0600 )edit

Question Tools

1 follower

Stats

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

Seen: 3,913 times

Last updated: Sep 18 '13