uml-robotics / ROS.NET

ROS.NET: ROS Client Library for Windows Development in C#
BSD 2-Clause "Simplified" License
93 stars 52 forks source link

problem: why can not subscribe the topic in ubuntu? #48

Open DavidHan008 opened 6 years ago

DavidHan008 commented 6 years ago

1 1 i use roscore in ubuntu ,and i open the talker demo, but no receive the message in ubuntu, please help me ,thx

rgarofalo commented 6 years ago

hi, I have the same problem, could you solve it?

allspawj commented 6 years ago

Sorry, did you set your ROS_MASTER_URI and ROS_HOSTNAME on the windows side?

DId you disable the windows firewall?

Can you verify from windows that you are able to ping your ubuntu machine from the command line, and ping your windows machine from the linux command line?

rgarofalo commented 6 years ago

just today, I managed to set everything up correctly, I did not understand how to set ROS_MASTER_URI and ROS_HOSTNAME I eventually also set ROS_IP on ubuntu for enabling communication.

I write my configuration, maybe it can be useful again

VM with Ubuntu: 1) set the network in Bridged Adapter mode 2) ROS_IP = ip local network (ex 192.168.56.101) 3) firewall disabled

Windows 1) ROS_MASTER_URI = http: // ip-ubuntu: 11311 / 2) ROS_HOSTNAME = ip-windows 3) firewall disabled