ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

new node registered with same name- arduino

asked 2015-08-04 19:26:34 -0500

dmngu9 gravatar image

Hi, I have 2 arduino mega connected to 2 usb ports. When i rosserial one is forced to shut down because it says new node registered with same name. This i think because the node.initNode() in both files. In arduino , i cant specify the name of the subscriber node.

How can i overcome this problem

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-08-04 22:09:37 -0500

Did you try running each rosserial_python with a different __name argument? See here for a more detailed definition

rosrun rosserial_python /dev/ttyUSB0 __name:=node1

rosrun rosserial_python /dev/ttyUSB1 __name:=node2
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-08-04 19:26:34 -0500

Seen: 2,361 times

Last updated: Aug 04 '15