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

Revision history [back]

click to hide/show revision 1
initial version

I found a way by my own but could not verify it: it is possible to pass arguments to ros::init through command line: http://wiki.ros.org/Remapping%20Arguments

I m not using rosrun and start some nodes by my own and will try to pass a special sting to ros::init(argc, argv, "my_node_name");

with arguments like std::string my_master = "__master=http://192.168.123.321:11311"

and call ros::init(1, my_master, "my_node_name");