Unable to receive any new messages #43
Replies: 3 comments 1 reply
-
Hello, i tried to replicate the issue, but in my case everything worked flawlessly. I did the following:
and i was able to correctly see the periodic messages
In my opinion, it could be a firewall problem, since
so try disabling firewall on both sides. |
Beta Was this translation helpful? Give feedback.
-
Hi @aler9 , Thank you so much for the detailed explanation. Unfortunately, we attempted to disable firewalls on both the server and client sides , but the issue persisted. Do you have any other insights to this issue? Perhaps on my side, I will test this out on another set of computers. |
Beta Was this translation helpful? Give feedback.
-
Hi @aler9, I retested this setup on Ubuntu 18.04 on ROS Melodic and both publishing and subscribing with GoRosLib works. Thanks for your help! |
Beta Was this translation helpful? Give feedback.
-
Hi @aler9 ,
Firstly, thank you for creating such a useful library. I would like to express some of the issues I am currently facing when using this library. Currently, I have a ROS environment (ROS Kinetic on Ubuntu 16.04) on my robot subscribing to a topic called '/cmd_vel'. On the server end, I have a Windows environment with Golang (Windows 10 Pro, Go 1.15.3), responsible for publishing the topic '/cmd_vel'.
I firstly did a roscore on the client side (robot), with the IP of 192.168.123.161 and port of 11311. I edited the following script such that this Golang script publishes 'geometry_msgs.Twist' message on the server side to the robot. Content published is displayed on the terminal. However on the client side, I can see the topic being published when i did
rostopic list -v
, but when I performed arostopic echo /cmd_vel
, it is an empty message.rostopic hz /cmd_vel
indicates that no new mesage is coming in, which implies that the initial 'handshake' is established but somehow messages are being dropped. Additionally, the published topic does not go away inrostopic echo /cmd_vel
even when I had stopped publishing from server side.When I attempted to subscribe to another topic from server (Golang), there is no new message received as well. Here is the code I executed on Windows. Let me know if you have any insights to this issue, thanks!
Beta Was this translation helpful? Give feedback.
All reactions