Rosbridge Server gives warning when I try to unadvertise or unsubscribe
Hi there, I have a ROS Kinetic running Raspberry Pi 3 B (I have installed ros as a ROSberry installation, from the source as suggested), which runs Rosbridge Udp Server over it. I am getting in contact with it via a Windows-10 Laptop which has a c++ program running to send JSON's to the Raspberry Pi. When I send advertisement or subscription requests system runs perfectly, I am able to publish/receive messages and create topics easily. After I am done with the messaging, I want to unadvertise a topic (and unsubscribe) so that topic will be killed by ROS Master since there will be no subscribers or publishers left. I am sending the following JSON's to unsubscribe and unadvertise:
- { "op": "unsubscribe", "id": "C-R", "topic": "top2" } //for unsubscribing
- { "op": "unadvertise", "id": "yp2", "topic": "top2" } //for unadvertising
then I get the following warning, which says (I believe) I am asking ROS to unadvertise or unsubscribe, but I specifically added ID parts to the JSON's just to make sure that ROS understand the request is coming me and I am asking ROS to make me unadvertise and unsubscribe. Why am I having the warning and how can I fix this?
[WARN] [1564562740.474205]: Could not process inbound connection: [/rosbridge_udp] is not a publisher of [/top2]. Topics are [['/client_count', 'std_msgs/Int32'], ['/rosout', 'rosgraph_msgs/Log']]{'message_definition': 'string data\n', 'callerid': '/rosbridge_udp', 'tcp_nodelay': '0', 'md5sum': '992ce8a1687cec8c8bd883ec73ca41d1', 'topic': '/top2', 'type': 'std_msgs/String'} [WARN] [1564562741.499281]: Could not process inbound connection: [/rosbridge_udp] is not a publisher of [/top2]. Topics are [['/client_count', 'std_msgs/Int32'], ['/rosout', 'rosgraph_msgs/Log']]{'message_definition': 'string data\n', 'callerid': '/rosbridge_udp', 'tcp_nodelay': '0', 'md5sum': '992ce8a1687cec8c8bd883ec73ca41d1', 'topic': '/top2', 'type': 'std_msgs/String'} [WARN] [1564562743.519575]: Could not process inbound connection: [/rosbridge_udp] is not a publisher of [/top2]. Topics are [['/client_count', 'std_msgs/Int32'], ['/rosout', 'rosgraph_msgs/Log']]{'message_definition': 'string data\n', 'callerid': '/rosbridge_udp', 'tcp_nodelay': '0', 'md5sum': '992ce8a1687cec8c8bd883ec73ca41d1', 'topic': '/top2', 'type': 'std_msgs/String'}