ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Ok, I finally figured this out. For publishing I had to enclose my string into another set of inverted comma send:
{"op": "publish", "topic": "/talker", "msg": {"data" : "_my_message " }}
basically, I used Wireshark to sniff the network, and checked my working ROS to Unity channel, and figured out what was missing on my Unity to ROS medium.
Also, I realised I was using Simple Json to convert my message to json which is not really important.
2 | No.2 Revision |
Ok, I finally figured this out. For publishing I had to enclose my string into another set of inverted comma send:
{"op": "publish", "topic": "/talker", "msg": {"data" : "_my_message " }}
basically, I used Wireshark to sniff the network, and checked my working ROS to Unity channel, and figured out what was missing on my Unity to ROS medium.
Also, I realised realized I was using Simple Json to convert my message to json which is not really important.