ROS Distributed Computing Network Issue
Hello Guys,
I have 3 PCs in my system.
PC 1 :is Raspberry pi based turtlebot PC 2 : is ROS Based System (Here I want to run roscore master node (ROS)) PC 3: Simulink on Windows
PC1 and 3 will be both acting as a publisher or subscriber.
I am able to ping and ssh both between PC1 and PC2 as well as PC 2 and PC 3. Connection between Simulink on PC3 and PC2 is also established. I run roscore on PC 2 but when I run roslaunch (launching camera nodes)from PC 1 and launch simulink node from PC 3 then I receive following error on both PC 1 and PC 3:
*"Unable to contact ROS master at [http:://<<pc2 ip="" address="">:11311] The traceback for the exception was written to the log file. "*
Details about environment variables :
My PC 1 in bashrc file has
- ROS_MASTER_URI : [http:://<<pc2 ip="" address="">:11311]
- ROS_IP : <<pc 1="" ip="" address="">>
My PC 2 in bashrc file has
- ROS_MASTER_URI : [http:://<<pc2 ip="" address="">:11311]
- ROS_IP : <<pc 2="" ip="" address="">>
My PC3 : In Simulink, there is "Configure ROS Network address " dialogue box (https://nl.mathworks.com/help/ros/ug/...) which has Network Address : Custom IP Address : <<pc2 address="" ip="">> and Node Address : <<pc2 address="" ip="">></pc2></pc2>
I believe I have setup environment variable in accordance with ROS distributed architecture network page. (http://wiki.ros.org/ROS/NetworkSetup)
Kindly let me know how should I approach to resolve this issue. I haven't changes ant /etc/hosts file. It's default as in the system.
Thanks