Subscriber Android from C++ node
Hi everybody! I tried to use the rosTextView of Android to display messages from a topic. The publisher is on my computer (ROS Hydro, rqt). There is no effect (the application doesn't crash), I just get this error :
E/UpdatePublisherRunnable﹕ org.ros.internal.node.xmlrpc.XmlRpcTimeoutException: org.apache.xmlrpc.client.TimingOutCallback$TimeoutException: No response after waiting for 10000 milliseconds.
I/dalvikvm﹕ Jit: resizing JitTable from 4096 to 8192
rosTextView = (RosTextView<std_msgs.String>) findViewById(R.id.text);
rosTextView.setMessageType(std_msgs.String._TYPE);
rosTextView.setTopicName("/textView");
rosTextView.setMessageToStringCallable(new MessageCallable<String, std_msgs.String>() {
@Override
public String call(std_msgs.String message) {
return "ok";
}
});
This code worked last month and since I might have update some part of ROS, there is a bug.
Have anyone experience this case? Thank you
Hasn't been any changes in hydro, rosjava nor I suspect roscpp. Has your android build environment/sdk changed?