jade - rosbag play with remap
Hi,
I would like to play a bag file with rosbag and remap the topics (e.g.: /myTopic:=/playback/myTopic). I tried with launch file:
<launch>
<remap from="myTopic" to="/playback/myTopic"/>
<arg name="file"/>
<node pkg="rosbag" type="play" name="playback" ns="myNamespace" args="—clock $(arg file)" />
</launch>
and from command line also ( rosbag play mybag.bag /myTopic:=/playback/myTopic )
The play starts without any error with both ways, I can see a new topic: myNamespace/clock (or /clock if I start it from command line), but all of the recorded topics are replayed on their original name (e.g. /myTopic) (and the replay is working, I can see it changes the values), so I guess, the remap is not really working or am I missing something?
According to the documentation I saw, this should be possible, but I am not sure it is still working in the jade release.
Thanks in advance! Balint