Android studio problem : org.ros.exception.RosRuntimeException: client wants service /kill to have md5sum 992ce8a1687cec8c8bd883ec73ca41d1, but it has c1f3d28f1b044c871e6eff2e9fc3c667. Dropping connection.

asked 2019-04-12 22:26:47 -0500

GaryWoo gravatar image

updated 2019-04-13 03:21:42 -0500

Hello , I am a newcomer to android ros. I want to connect to the other note's service to request data, use method newServiceClient, when trying to link, the error occurs.The following is the error message:

org.ros.exception.RosRuntimeException: client wants service /kill to have md5sum 992ce8a1687cec8c8bd883ec73ca41d1, but it has c1f3d28f1b044c871e6eff2e9fc3c667. Dropping connection.

Here is my code:When run code:connectedNode.newServiceClient(srvName, DataRequest._TYPE), the above error occurred.

String srvName = "kill"; 
client = connectedNode.newServiceClient(srvName, DataRequest._TYPE);
final DataRequest request = client.newMessage();
request.setName("turtle123");
client.call(request, listServiceResponseListener);

I am not familiar with rosJava at the moment, not sure if my connection request has a problem or not, or I need a specific connection.Is there a corresponding demo? Thanks for your assistance.

edit retag flag offensive close merge delete