Robotics StackExchange | Archived questions

RTabMap gives only the last scene not the global scene

Through my previous question here, I am able to run RTabMap without errors. But, all I see in RViz is the last scene not the global scene i.e. I could only see what camera see and the when I move to some other location old data is not visible any further. Any suggestion is appreciated. Thanks in advance and feel free to comment for any further info needed from my side.

Asked by NAGALLA DEEPAK on 2018-12-07 01:00:20 UTC

Comments

"when I move to some other location old data is not visible any further": looks like the mapping node is not working, do you have a status log info of rtabmap at each second in terminal? Are there warnings?

Asked by matlabbe on 2018-12-21 15:44:05 UTC

No, there are no warnings. Everything is fine in terminal.

Asked by NAGALLA DEEPAK on 2019-01-03 05:41:20 UTC

Do you have a log info of rtabmap printed at each second in terminal? like this:

[ INFO] rtabmap (1): Rate=1.00s, Limit=0.000s, RTAB-Map=0.0456s, Maps update=0.0029s pub=0.0002s (local map=1, WM=1)
[ INFO] rtabmap (2): Rate=1.00s, Limit=0.000s, RTAB-Map=0.043s, Maps update=0.0029s pub=..

Asked by matlabbe on 2019-01-03 16:57:48 UTC

Sorry for replying late. Yes my terminal looks like that and it is not showing any warnings.

Asked by NAGALLA DEEPAK on 2019-01-18 11:05:09 UTC

Which displays are added to RVIZ? You may try to add the rtabmap_ros/MapCloud display and subscribe to /rtabmap/mapData topic.

Asked by matlabbe on 2019-01-18 15:50:23 UTC

Answers