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

Revision history [back]

click to hide/show revision 1
initial version

I've run into this before. The problem is that startup and shutdown are asynchronous and can be started simultaneously.

You can ask the node if it's registered via Node.isRegistered(). If that's true, then the master is up and responding.

The correct solution is probably to be smarter in Node.shutdown(). Please file an issue: http://code.google.com/p/rosjava/issues/list

If possible, include any code to reproduce the issue.

I've run into this before. The problem is that startup and shutdown are asynchronous and can be started executed simultaneously.

You can ask the node if it's registered via Node.isRegistered(). If that's true, then the master is up and responding.

The correct solution is probably to be smarter in Node.shutdown(). Please file an issue: http://code.google.com/p/rosjava/issues/list

If possible, include any code to reproduce the issue.