problems with rosbag record in command line [closed]
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?
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.