unable to publish data into ROS using unity3d

asked 2018-03-23 00:17:21 -0600

shree_123 gravatar image

Hi, I'm trying to set up the example project that i have cloned from the following repo : https://github.com/MathiasCiarlo/ROSB... I have followed the instructions to create a project in unity and create the mentioned scripts. As per the documentation provided, the c# script is supposed to give out a JSON string which is used to publish a topic into ROS, however im not able to achieve this. I am sending the JSON string over the 9090 port but ROS is not receiving it.

Please do point out what i'm doing wrong.

Thanks in advance!!!

edit retag flag offensive close merge delete


Could you share the c# scripts that you have and I might be able to help you. I have used this repo before and it is quite simple to use.

slmat27 gravatar image slmat27  ( 2018-04-04 12:14:45 -0600 )edit

Hey slmat, thanks for the response. Found out what the problem was. I had to launch websocket first and then run the c# scripts!

shree_123 gravatar image shree_123  ( 2018-04-05 00:07:37 -0600 )edit