Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| tutorials:connecting_to_remote_ros_master [2022-04-06 16:46] – created Robbert Hofman | tutorials:connecting_to_remote_ros_master [2022-09-02 16:04] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Connecting to remote ROS master ====== | ====== Connecting to remote ROS master ====== | ||
| - | E.g. my IP is 192.168.0.19 (looked up by running ifconfig) | + | E.g. my IP is 192.168.0.19 (looked up by running |
| The IP of the machine running ROS master is 192.168.0.8. | The IP of the machine running ROS master is 192.168.0.8. | ||
| On my machine: | On my machine: | ||
| - | ``` | + | < |
| export ROS_IP=192.168.0.19 | export ROS_IP=192.168.0.19 | ||
| export ROS_HOSTNAME=$ROS_IP | export ROS_HOSTNAME=$ROS_IP | ||
| export ROS_MASTER_URI=http:// | export ROS_MASTER_URI=http:// | ||
| - | ``` | + | </ |
| On the remote master: | On the remote master: | ||
| - | ``` | + | < |
| export ROS_IP=192.168.0.8 | export ROS_IP=192.168.0.8 | ||
| export ROS_HOSTNAME=$ROS_IP | export ROS_HOSTNAME=$ROS_IP | ||
| export ROS_MASTER_URI=http:// | export ROS_MASTER_URI=http:// | ||
| - | ``` | + | </ |
| + | |||
| + | If I then run '' | ||