tutorials:connecting_to_remote_ros_master

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorials:connecting_to_remote_ros_master [2022/04/06 14:47] robberthtutorials:connecting_to_remote_ros_master [2022/09/02 14: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 ''ifconfig''\\
 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:
-'''+<code>
 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://192.168.0.8:11311 export ROS_MASTER_URI=http://192.168.0.8:11311
-'''+</code>
  
 On the remote master: On the remote master:
-```+<code>
 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://192.168.0.8:11311 export ROS_MASTER_URI=http://192.168.0.8:11311
-```+</code> 
 + 
 +If I then run ''rostopic list'', I should be able to list the remote ros topics.
  • tutorials/connecting_to_remote_ros_master.1649256463.txt.gz
  • Last modified: 2022/09/02 14:04
  • (external edit)