Multi-agent Control System Manual

Table Of Contents
www.roboworks.com.au/support
ROS multi-machine communication is not constrained by ROS release version. In the process of multi-
machine communication, one should be aware of the following:
1) The operation of the ROS slave program depends on the ROS master program of the ROS master device.
The ROS master program must launch first on the master device before executing the slave program on the
slave device.
2) The IP addresses of the master and slave machines in multi-machine communication need to be in the
same network. This means the IP address and the subnet mask are under the same network.
3) ROS_HOSTNAME in the environment configuration file .bashrc is not recommended to use localhost. It is
recommended to use a specific IP address.
4) In the case that the slave IP address is not set correctly, the slave device can still access the ROS master
but cannot input control information.
5) If the virtual machine participates in the multi-agent communication, its network mode needs to be set to
bridge mode. Static IP cannot be selected for the network connection.
6) Multi-machine communication cannot view or subscribe to topics of message data type that do not exist
locally.
Fig 2-1-4 Environment Configuration File .bashrc
ROBOWORKS