# Interaction of TRIK controllers

TRIK controllers can interact with each other, which makes it possible to solve [problems](https://help.trikset.com/en/trik/wi-fi/interaction/interaction-example) of transferring messages between robots.

For the interaction of controllers, it will be necessary to select a **master** controller — the one to which we will connect the rest of the controllers. And also connect all controllers to one network. This can be done in two ways:

1\. Using the existing network.

![](https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-MSmB0hAA5rpAaeKZwIw%2F-MSmLBg4PqtZpsE18NAu%2F78%201%20En%20connection-on-wifi.png?alt=media\&token=0d4b5b2a-dd34-4ec1-bf51-24e43a3df68c)

2\. By creating a Wi-Fi access point on one of the controllers.

![](https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-MSmB0hAA5rpAaeKZwIw%2F-MSmLLarYHS1LoQA4J1d%2F78%202%20En%20connection-on-robot.png?alt=media\&token=17539154-8e19-4211-96e4-42e677d368fe)

## Method 1. Interaction using an existing Wi-Fi network

1\. Select a **master** controller and connect it to an existing Wi-Fi network in [client mode](https://help.trikset.com/en/trik/network-connection#client).

2\. In the [web interface](https://help.trikset.com/en/trik/web-interface) of the **master** controller, in the "Interaction of robots" field, specify the tail number (usually for the master it is 01, but any other is possible) and its IP address.

![](https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-MUYmeJ_YcAuskr8emLH%2F-MUYq0SdE3NKtO-nwNKd%2F78%203%20En%20configurator-main.png?alt=media\&token=77875ea2-4b12-4d8c-93a3-6c1f8a212318)

3\. Connect **all** other controllers to the same Wi-Fi network in [client mode](https://help.trikset.com/en/trik/network-connection#client).

4\. Specify for each of them in your web interfaces in the "Interaction of robots" field the tail number (different from the others) and the IP address of the **master** controller.

![](https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-MSmB0hAA5rpAaeKZwIw%2F-MSmM0JUoVD9v2MZ4far%2F78%204%20En%20configurator-other.png?alt=media\&token=af107b4e-5b56-4f41-a8d0-92d319aa83cb)

{% hint style="info" %}
Also, the flight number and IP address of the **master** controller can be specified on the controller in the `Interaction` menu item.
{% endhint %}

4\. On all controllers go to the `Interaction` menu item and click the "Connect" button. The <img src="https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-M0CXXrWPAO3MBKAVjU4%2F-M0D69CCIhGDWIMaQnpE%2FmailboxConnected.png?alt=media&#x26;token=1a6678ff-9425-4996-ad5d-1c2072c398b5" alt="" data-size="line"> icon should appear in the upper right corner of the controller screens.

![](https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-MSivIatfe54TNgVNtXi%2F-MSivrVmpnBnJnHcD2zk%2F78%205%20En%20trik-connected.png?alt=media\&token=163e9bc8-c990-4a65-be31-6d34876eee94)

## Method 2. Interaction using a Wi-Fi access point on one of the controllers

### Actions with the master controller

1\. Select a **master** controller and share Wi-Fi from it using [access point mode](https://help.trikset.com/en/trik/network-connection#accesspoint) (select `Network → Wi-Fi access point` in the menu).

![](https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-MSivIatfe54TNgVNtXi%2F-MSiw0WfMj6RSKG9hwIq%2F78%207%20En%20trik-wi-fi-accesspoint.png?alt=media\&token=26bd840a-76fd-4c1e-b302-18703c0ae0ec)

2\. Next, return to the main menu screen and select `Interaction`.

![](https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-MSivIatfe54TNgVNtXi%2F-MSiw5r3IkgZ4cbXJMhc%2F78%20A%20En%20%D0%93%D0%BB%D0%B0%D0%B2%D0%BD%D1%8B%D0%B9%20%D1%8D%D0%BA%D1%80%D0%B0%D0%BD%20-%20%D0%B2%D0%B7%D0%B0%D0%B8%D0%BC%D0%BE%D0%B4%D0%B5%D0%B9%D1%81%D1%82%D0%B2%D0%B8%D0%B5.png?alt=media\&token=755bd2a6-4840-4a0e-bc76-0903508028c2)

3\. Specify the tail number (usually for the **master** it is 01, but any other is possible) and its IP address.

![](https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-MSivIatfe54TNgVNtXi%2F-MSiwAozIBacz6xMn9Gq%2F78%20B%20En%20%D0%92%D0%B7%D0%B0%D0%B8%D0%BC%D0%BE%D0%B4%D0%B5%D0%B9%D1%81%D1%82%D0%B2%D0%B8%D0%B5.png?alt=media\&token=ab2b28c8-be38-4da6-ab7a-ea12663ad90f)

### Actions with other controllers

4\. Connect the rest of the controllers to the master using the [Wi-Fi client mode](https://help.trikset.com/en/trik/network-connection#accesspoint). To do this, in the web interface of each controller, in the "Wi-Fi client" fields, specify the name and password of the network of the **master** controller.

5\. Open the web interface using the IP address displayed on the controller in Wi-Fi client mode.

6\. Specify for each of the controllers in their web interfaces in the "Interaction of robots" field the tail number (different from others) and the IP address of the **master** controller.

![](https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-MSivIatfe54TNgVNtXi%2F-MSiwFYxPHKIS_MsgZz9%2F78%20C%20En%20configurator-other.png?alt=media\&token=54dffb16-a401-442a-8e3d-d5276ad5f3a1)

{% hint style="info" %}
Also, the flight number and IP address of the **master** controller can be specified on the controller in the `Interaction` menu item.
{% endhint %}

### Action with all controllers

7\.  On all controllers go to the `Interaction` menu item and click the "Connect" button. An <img src="https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-M0CXXrWPAO3MBKAVjU4%2F-M0D69CCIhGDWIMaQnpE%2FmailboxConnected.png?alt=media&#x26;token=1a6678ff-9425-4996-ad5d-1c2072c398b5" alt="" data-size="line">icon should appear in the upper right corner of the controller screens.

![](https://2483351831-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M-9YMGCK0ySSnTAiseS%2F-MSivIatfe54TNgVNtXi%2F-MSiwJmIlGEJGpF47TIv%2F78%20D%20En%20trik-connected.png?alt=media\&token=c5e51bd9-3bee-411e-b1e4-4b9e8cf41afa)

{% content-ref url="interaction/interaction-example" %}
[interaction-example](https://help.trikset.com/en/trik/wi-fi/interaction/interaction-example)
{% endcontent-ref %}
