problems with rosbag record in command line [closed]

asked 2014-04-19 22:37:46 -0600

arvind gravatar image

we are trying to map two different bag files in gmapping. One of the bag files is the one from the ros tutorials and another is recorded from it using record -a thru command line. But one of them is of type /tf and other of type /tf2 . Also, the original bag files is mapped in gmapping but the recorded one is not? can someone suggest what to do?

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2018-10-03 05:30:34.391556


Try creating GMapping launch file and adding <remap from="/tf" to="/tf2"> in gmapping <node> in this launch file. Note that this is only to make your recorded data work because clearly name of topics do not match.

AbuIbra gravatar image AbuIbra  ( 2014-04-20 06:53:05 -0600 )edit