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

Running gscam simultaneously on multiple laptops having a common ROSmaster

asked 2013-02-15 04:41:42 -0600

Bala gravatar image

updated 2014-01-28 17:15:16 -0600

ngrennan gravatar image

I have three laptops of which one will act as the master. They are all connected to the same network. When I try to run gscam on one slave and access it from the master the setup works perfectly. But when I run gscam on the second slave, the first slave's terminal that was running gscam receives a shutdown request citing the reason "new node registered with same name" and stops working. The second slave starts working. But I want them both to run simultaneously.

I tried changing the node name by changing the executable name in the CMakeLists.txt file. Even then the problem persists.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-02-15 04:53:45 -0600

dornhege gravatar image

updated 2013-02-15 04:54:18 -0600

Don't change the name of the executable, change the node name by passing: __name:=new_name

You can also produce a roslaunch file the automatically assigns anonymous node names.

edit flag offensive delete link more

Question Tools


Asked: 2013-02-15 04:41:42 -0600

Seen: 301 times

Last updated: Feb 15 '13