Dynamically set ROS_MASTER_URI

asked 2019-12-05 20:19:43 -0500

shuttlebug gravatar image

updated 2019-12-05 20:20:03 -0500

Is there a way to dynamically set the ROS master when using multiple computers (on ROS melodic)? By this, I mean multiple computers are on the same network; if I launch roscore on one machine, I'd like the other machines to be able to detect this happened and set the ROS_MASTER_URI accordingly.

I'm new to ROS, so any direction is greatly appreciated!

edit retag flag offensive close merge delete

Comments

I'm not sure how "dynamic" it is (as in: how frequently you can change things with this), but perhaps this is what zeroconf_avahi is used for.

gvdhoorn gravatar image gvdhoorn  ( 2019-12-06 05:03:29 -0500 )edit