rosjava / android_remocons

Android based remote controllers for 1-1 robot pairing and multi-robot concerts.
21 stars 28 forks source link

[common_tools] Same node name problem when concert checker is running. #76

Open dwlee opened 9 years ago

dwlee commented 9 years ago

Symptom ConcertChecker is wrapping for easily searching concert information. It get concert information via creating ros node and subscribing specific topic and then ros node created this process is shutdown after getting concert infomation. However, if some error( especially timeout error) is happened in this process, ros node can not be terminated and Concert checker is received following error when it again tried to getting concert information.

I/Registrar﹕ MasterXmlRpcEndpoint URI: http://192.168.10.32:11311
I/Registrar﹕ Registering publisher: Publisher<PublisherDefinition<PublisherIdentifier<NodeIdentifier</master_info_node, http://192.168.10.51:42322/>, TopicIdentifier</rosout>>, Topic<TopicIdentifier</rosout>, TopicDescription<rosgraph_msgs/Log, acffd30cd6b6de30f120938c17c593fb>>>>
I/Registrar﹕ Response<Success, Registered [/master_info_node] as publisher of [/rosout], [http://192.168.10.32:55680/]>
I/DefaultPublisher﹕ Publisher registered: Publisher<PublisherDefinition<PublisherIdentifier<NodeIdentifier</master_info_node, http://192.168.10.51:42322/>, TopicIdentifier</rosout>>, Topic<TopicIdentifier</rosout>, TopicDescription<rosgraph_msgs/Log, acffd30cd6b6de30f120938c17c593fb>>>>

Solution