ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I know this is quite old, but there's also this option:
rosrun rosbag topic_renamer.py <in topic> <in bag> <out topic> <out bag>
2 | No.2 Revision |
I know this is quite old, but there's also this option:
rosrun rosbag topic_renamer.py <in topic> <in bag> <out topic> <out bag>
Another option is to simply remap the topics when you use rosbag play. For example, if you have the topic /foo inside the bag, you can to this to rename it (when published) into /bar:
rosbag play file.bag /foo:=/bar
The leading '/' might not be needed.