ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Perhaps you could change the node name with this keyword?

__name

`__name` is a special reserved keyword for "the name of the node." It

lets you remap the node name without having to know its actual name. It can only be used if the program that is being launched contains one node.

I tried to find the relevant code snippet in the rosbag repository but could not find it, unfortunately. I would also like to see the answer to this question, it is interesting and a solution would be useful.