ROS Master
A server is set as the home of ROS Master. Each remote robot is treated as a node to register to the Master. For example let the Master IP be 10.219.10.10 and node IP be 10.219.10.11. IP information is exported in the Master and node bashrc files individually to establish their connection.
For Master bashrc file
export ROS_MASTER_URI=10.219.10.10
export ROS_IP=10.219.10.10
For node bashrc file
export ROS_MASTER_URI=10.219.10.10
export ROS_IP=10.219.10.11
When the Master and nodes are launched, they can automatically build a connection using Master IP with each other. Hence it implements that the Master controls the node's behavior remotely.
Comments
Post a Comment