Multi-agent Control System Manual

Table Of Contents
www.roboworks.com.au/support
The purpose of setting different names is to group running nodes and distinguish them by different
namespaces. For example, the radar topic of slave 1 is: /slave1/scan, and the LiDAR node of slave 1 is: /
slave1/laser.
4.1.2 Set up slave coordinates
The wheeltec_multi package can implement custom formations. When different formations are required, just
modify the desired coordinates of the slave robots. Slave_x and slave_y are the x and y coordinates of the
slave with the master as the original reference point. The front of the master is the positive direction of the x
coordinate, and the left side is the positive direction of the y coordinate. After the setting is completed, a TF
coordinate slave1 will be issued as the expected coordinate of the slave.
If there are one master and two slaves, the following formation can be set:
1) Horizontal formation: You can set the coordinates of the slave on the left to: slave_x:0, slave_y: 0.8, and the
coordinates of the slave on the right to: slave_x:0, slave_y:-0.8.
2) Column formation: The coordinates of one slave can be set to: slave_x:-0.8, slave_y:0, and the coordinates
of the other slave can be set to: slave_x:-1.8, slave_y:0.
3) Triangular formation: The coordinates of one slave can be set to: slave_x:-0.8, slave_y: 0.8, and the
coordinates of the other slave can be set to: slave_x:-0.8, slave_y:-0.8.
Other formations can be customized as needed.
Note:
The recommended distance between the two robots is set to 0.8, and it is recommended not to be lower than
0.6. The distance between the slaves and the master is recommended to be set below 2.0. The farther it is
from the master, the greater the linear speed of the slave is when the master is turning. Due to the limitation of
the maximum speed, the speed of the slave will deviate if it does not meet the requirements. The robot
formation will become chaotic.
4.1.3 Initialisation of the slave position
The initial position of the slave is at the expected coordinates by default. Before running the program, just
place the slave robot close to its expected coordinates to complete the initialization.
This function is implemented by the pose_setter node in the file named turn_on_wheeltec_robot.launch in the
wheeltec_multi package, as shown in Figure 4-1-3.
ROBOWORKS