rosjava subscriber to c++ publisher [closed]

asked 2013-02-21 03:36:20 -0500

DaveT gravatar image

updated 2014-01-28 17:15:21 -0500

ngrennan gravatar image

Setup: 1 publisher written in C++. 1 subscriber written in Java running on a different machine.

Problem: When running a java subscriber with a C++ publisher I frequently get XmlRpcTimeout error messages every ten seconds or so regardless of how much data has been received. Often the process will continue but then completely stop after some time. The data being passed is large image data (roughly 1MB per image) using a customised image message to carry specific metadata.

System out:

21-Feb-2013 15:19:27 org.ros.internal.node.topic.UpdatePublisherRunnable run SEVERE: org.ros.internal.node.xmlrpc.XmlRpcTimeoutException: org.apache.xmlrpc.client.TimingOutCallback$TimeoutException: No response after waiting for 10000 milliseconds.

Followed ten seconds later by:

21-Feb-2013 15:19:38 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: I/O exception ( caught when processing request: Connection timed out: connect 21-Feb-2013 15:19:38 org.apache.commons.httpclient.HttpMethodDirector executeWithRetry INFO: Retrying request

This does not occur when using C++ to C++ or Java to Java. It only occurs when going from C++ to Java.

Any help would be much appreciated!

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-10-30 17:56:18.380822