rosrun rosserial_server socket_node
[ INFO] [1611535710.993019300]: Listening for rosserial TCP connections on port 11411
[ INFO] [1611535838.401030000]: waitForService: Service [/service_info] has not been advertised, waiting...
[ WARN] [1611535843.415169100]: Timed out waiting for service_info service to become available.
[ WARN] [1611535843.417027600]: Failed to call service_info service. The service client will be created with blank md5sum.
[ WARN] [1611535843.418184600]: Service client setup: Request message MD5 mismatch between rosserial client and ROS
[ WARN] [1611535843.419765800]: Service client setup: Response message MD5 mismatch between rosserial client and ROS
I try to run the <node pkg="rosserial_python" type="message_info_service.py" name="rosserial_message_info"
and it works.
But the result is wrong and still have logs warning.
===
ROS_WARN("Received message with unrecognized topicId (%d).", topic_id);
// TODO: Resynchronize on multiples?
Tested in both ros-kinetic(linux) and ros-melodic(win).
rosserial_server version: 0.8.0
visual studio 2019
It seems that client.call have some problem
I found it didn't work. In serviceclient, the pub.nh->connected() is false.
So I change my code as below:
Then the terminal have such log infos:
I try to run the
<node pkg="rosserial_python" type="message_info_service.py" name="rosserial_message_info"
and it works. But the result is wrong and still have logs warning.
===
Tested in both ros-kinetic(linux) and ros-melodic(win). rosserial_server version: 0.8.0 visual studio 2019