[ros-users] rosjava Exception if create two Nodes with same name

Abhishek Verma toabhishekverma at gmail.com
Wed Jun 22 16:01:42 UTC 2011


Hi Damon,
I already raised a issue on this.

Thanks and Regards
Abhishek Verma


On Wed, Jun 22, 2011 at 3:57 PM, Jack O'Quin <jack.oquin at gmail.com> wrote:

> On Wed, Jun 22, 2011 at 9:48 AM, Nicholas Butko <nbutko at ucsd.edu> wrote:
> > Damon,
> > One option is to take the course of "When in doubt, follow the behavior
> of
> > roscpp." In that case, when a second node registers with the same name,
> the
> > first node dies. For example, if you run
> > {{{
> > rosrun roscpp_tutorials talker
> > }}}
> > twice, the second instance behaves normally, but the first instance shows
> > {{{
> > [ INFO] [1308753854.115622000]: hello world 72
> > [ INFO] [1308753854.215643000]: hello world 73
> > [ WARN] [1308753854.285720000]: Shutdown request received.
> > [ WARN] [1308753854.285791000]: Reason given for shutdown: [new node
> > registered with same name]
> > [ INFO] [1308753854.315770000]: hello world 74
> > }}}
> > Just a thought. What do you think?
>
> That seems like the right behavior to me. It allows a node to be
> restarted successfully even when the previous instance has not
> completely shut down. That can be useful for failure recovery.
> --
>  joq
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20110622/710e796d/attachment-0002.html>


More information about the ros-users mailing list