[ros-users] [Discourse.ros.org] [General] Running ROS across…

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Bharath via ros-users
Dato:  
Til: ros-users
CC: Bharath
Emne: [ros-users] [Discourse.ros.org] [General] Running ROS across multiple machines is failed


Hi All,

I am trying to run ROS across 2 machines, master is starting with out any issues when I tried to run listener getting below errors.

**root@test:/opt/ros/indigo# rosrun rospy_tutorials listener.py**
**[rospack] Error: package 'rospy_tutorials' not found**
**find: '': No such file or directory**


I have followed below procedures.

System 1-
setting static IP-
ifconfig eth0 192.168.0.1 netmask 255.255.255.0
route add default gw 192.168.0.1 dev eth0

export ROS_IP=192.168.0.1
export ROS_HOSTNAME=192.168.0.1

roscore &

export ROS_MASTER_URI=http://192.168.0.1:11311/
rosrun rospy_tutorials listener.py

System-2

setting static IP-
ifconfig eth0 192.168.0.2 netmask 255.255.255.0
route add default gw 192.168.0.2 dev eth0

export ROS_IP=192.168.0.2
export ROS_HOSTNAME=192.168.0.2

export ROS_MASTER_URI=http://192.168.0.1:11311/
rosrun rospy_tutorials talker.py

Note: I could able to ping between system 1 & 2.

Kindly help us to debug this issue in my setup.

Kindly let me know if you need any more information,

Regards
Bharath





---
[Visit Topic](https://discourse.ros.org/t/running-ros-across-multiple-machines-is-failed/3601/1) or reply to this email to respond.


If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates.
______________________________________________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users
Unsubscribe: <http://lists.ros.org/mailman//options/ros-users>