Hi Chris, 1) You shouldn't need to set ROS_MASTER_URI in a roslaunch file 2) You need to set ROS_IP in your shell for the machine you run roslaunch from. Any ROS_IP settings in your launch file are for *remote* machines. 3) You can avoid having to use ROS_IP if you are able to just setup your network to use hostnames properly, e.g. by adding entries to /etc/hosts. The reason why you don't see ROS_IP used much in other setups is because they probably have configured their networks. - Ken On Wed, Nov 17, 2010 at 1:04 PM, chris_li wrote: > > Hi Ken, > > If I want to set ROS_IP in my shell, I think I can not write in my ~/.bashrc > since it is ignored in roslaunch, does it mean that I have to write in my > setup.sh ? > > In my launch file, I have been using: > > and > > > to set ROS_IP and ROS_MASTER_URI,  but they do not seem to be recognized. > > I noticed that in other posts for multiple roslaunch, people do not set > ROS_MASTER_URI or ROS_IP.  Is it the right way? I am kinda lost here. > ~ > Chris > -- > View this message in context: http://ros-users.122217.n3.nabble.com/roslaunch-for-multiple-machines-tp1918649p1919773.html > Sent from the ROS-Users mailing list archive at Nabble.com. > _______________________________________________ > ros-users mailing list > ros-users@code.ros.org > https://code.ros.org/mailman/listinfo/ros-users >