Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 2011-09-23 20:19:53 -0500

sam gravatar image

What is the second case of ros::ok() return false?

In topic programmoing tutorials

Here says that

ros::ok() will return false if:

1. a SIGINT is received (Ctrl-C)
2. we have been kicked off the network by another node with the same name
3. ros::shutdown() has been called by another part of the application.

I understand 1 and 3,but what is the second situation?

How to kicked off the network by another node with the same name?

Thank you~