=====ROS over the network =====
This page deals with running ROS across [[http://wiki.ros.org/ROS/Tutorials/MultipleMachines|multiple machines ]]. This involves choosing one machine to be the master.
Also see [[http://wiki.ros.org/ROS/NetworkSetup| ROS network setup]]
----
====Teleoperation ====
In this scenario, we want to control a mobile robot with a joystick plugged in a a fixed machine. How to do it ? Suppose the master is up and running. How to set up the remote machine :
* Network issues:
* Make sure that both machines are on the same network, e.g. ''wifibotlapap''
* Make sure the master can be reached by its **name**. For example, add the following line in ''/etc/hosts'': ''192.168.1.106 wifibot-lab''
* Install the joystick node: ''sudo apt-get update\\ sudo apt-get install ros-hydro-joy''
* Export the master and declare the client IP to ROS: ''export ROS_MASTER_URI=http://wifibot-lab:11311 \\ export ROS_IP=192.168.1.100''
* Run the joystick node: ''rosrun joy joy_node''
* You can also run ''rviz'' on the slave, to visualize the robot state ''rosrun rviz rviz''
In case of trouble, see [[http://wiki.ros.org/ROS/NetworkSetup| ROS network setup]]