yekigoc / rosjava

Automatically exported from code.google.com/p/rosjava
0 stars 0 forks source link

Nodes with same name are throwing exception, and still able to comminicate #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a publisher with name say "ABC"
2. Create a Subscriber with same name 
3. Start RosCore

What is the expected output? What do you see instead?
C++ Ros dont allow node with same name. So either connection of second node 
should be refused or All Node names should be appended with some suffix.

What version of the product are you using? On what operating system?
tip with changeset:   572:87c98dd0faec

Please provide any additional information below.

Original issue reported on code.google.com by toabhish...@gmail.com on 22 Jun 2011 at 7:05

GoogleCodeExporter commented 9 years ago
The correct behavior should be:

After receiving a registration request for a node with a name that is already 
registered, the node which registered the name originally should receive a 
shutdown request over XML-RPC.

Original comment by damonkoh...@google.com on 23 Jun 2011 at 7:10

GoogleCodeExporter commented 9 years ago
This has been fixed and pushed.

Original comment by khug...@google.com on 19 Jan 2012 at 5:22