Node name can be configured via rosparam strictly. e.g
ros.init_node(ros.get_param(“my_node/prefix”) + “mynode”);
I can’t remember the exact API calls off the top of my head, but that’s the general approach. Above syntax wont work directly FYI, is what I’m trying to say.