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

How to Avoid Robot from Printing its Path in RTABMAP

asked 2019-07-26 03:46:29 -0500

al389660 gravatar image

updated 2019-07-30 08:41:04 -0500

matlabbe gravatar image

Hi, I am using rtabmap_ros package for mapping in simulation. The problem is that I move the robot arround and it does the mapping perfectly but it also prints its path behind it. And when i reopen the map using Rtabmap interface, this path shows as a colored line. Pleae let me know what is it and how can I avoid that from printing?

Images from comment: image description image description

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-07-26 13:20:16 -0500

matlabbe gravatar image


For the first part, do you mean in RVIZ? Depending on your rviz config, there is maybe a MapGraph or Path display enabled that shows the path of the robot, so just disable it.

In rtabmapviz or rtabmap standalone interface, you can hide the map's graph (the path you are seeing in 3D Map view) by unchecking "Show graph" at the bottom of Preferences->3D Rendering panel. For the Graph view, right-click on it and select "Hide graph".


edit flag offensive delete link more


Mathieu, Thank you very much for your prompt reply. That is exactly what I wanted.

al389660 gravatar image al389660  ( 2019-07-27 03:14:35 -0500 )edit

I have another question, I can hide the path you suggested but there is still some sort of track in rtabmap interface which shows dark grey spots. it also shows in RVIZ. Could you please let me know what is it and how to get rid of it.

al389660 gravatar image al389660  ( 2019-07-27 03:45:16 -0500 )edit

Can you update the question with a screenshot of this? Not sure what you are meaning.

matlabbe gravatar image matlabbe  ( 2019-07-28 20:05:33 -0500 )edit

I am unable to upload a screen shot and it asks me to have >5 points to upload files.

al389660 gravatar image al389660  ( 2019-07-28 21:48:42 -0500 )edit

Add image to , I'll re-add it to your question afterwards.

matlabbe gravatar image matlabbe  ( 2019-07-29 07:24:41 -0500 )edit

I have uploaded images and shared it publicly. Please let me know if you cannot find the images.

al389660 gravatar image al389660  ( 2019-07-29 08:51:32 -0500 )edit

where is the link?

matlabbe gravatar image matlabbe  ( 2019-07-29 10:52:11 -0500 )edit

my apologies, here is the link ;
this picture shows the dark patches after removing the map path as you suggested.

this image looks like this with map path

al389660 gravatar image al389660  ( 2019-07-29 13:35:07 -0500 )edit

Question Tools


Asked: 2019-07-26 03:46:29 -0500

Seen: 252 times

Last updated: Jul 30 '19