Aseba provides asebaswitch, a command-line utility that can connect several targets. The syntax is the following:
asebaswitch [options] [additional targets]*
asebaswitch --help
Aseba demands that every node in a network has a different identifier, because Aseba uses the latter to route data. However, some targets, such as the Thymio, have an identifier hard-coded in their firmware. Fortunately, asebaswitch provides an identifier remapping mechanism, that allows to remap the identifier of a target.
This mechanism allows, for example, to have two Thymios on the same Aseba network. Under Linux, this translates into this command line:
asebaswitch -d "ser:device=/dev/ttyACM0;remapLocal=1" "ser:device=/dev/ttyACM1;remapLocal=2"
The remapping mechanism adds two options to the target-description string:
Currently, this mechanism allows to remap only one node per target. We might generalize this depending on the needs.