ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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.
2 | No.2 Revision |
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.