# Herelink Setup and X55 Configuration (Single Operator)

* Turn on the Herelink, go into the Herelink settings, click on the BUTTONS tab, and create a new configuration (called P3 here).

<figure><img src="https://420566268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlAYp7UsbahBE1x4uKSyu%2Fuploads%2F6GiTIHwjy5Y1L1fZgFrJ%2F13.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

![](https://420566268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlAYp7UsbahBE1x4uKSyu%2Fuploads%2FfkjT3w9X40Km0MvHegrk%2F15.png?alt=media)

<figure><img src="https://420566268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlAYp7UsbahBE1x4uKSyu%2Fuploads%2FmHZn9KtLnMbxXXKTpYmV%2F14.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

* Assign the CAM short press button to channel 8, and make sure your settings match the screenshot below before hitting “SAVE”.\\

  <figure><img src="https://420566268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlAYp7UsbahBE1x4uKSyu%2Fuploads%2FDZoVJ53ZzMMkGmCdyDEc%2F16.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

  * Go to the “JOYSTICK” tab and assign the wheel (W) channel to channel 6, with a deadzone of 20, and reverse the channel, then click “SAVE”.

  <figure><img src="https://420566268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlAYp7UsbahBE1x4uKSyu%2Fuploads%2FWpIei758sLJYNnx0OLho%2Fimage.png?alt=media&#x26;token=50ac46e5-aab4-44b7-9ef6-b1919e1bebaa" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="warning" %}
Make sure that the CAM button is not assigned to other functions such as flight modes in QGC. By default, this button is not assigned to any functions.
{% endhint %}

* Power on the X55, and wait 1 minute for the X55 and the P3 to initialize - the camera will move during the initialization process.
* Open the QGC app in the Herelink and wait for the parameters to load. Make sure you are using the “Stream 2” video source and that you can see the output of the P3.\
  \\

  <figure><img src="https://420566268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlAYp7UsbahBE1x4uKSyu%2Fuploads%2FaML35DsjeUTtWRITwMbS%2F0.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>
* Click on the gear icon, go to the parameters tab, click on “SERIAL”, then change “SERIAL3\_BAUD” to 921600 and click "SAVE". Also, make sure “SERIAL3\_PROTOCOL” is set to MAVLink2 (2).

  <figure><img src="https://420566268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlAYp7UsbahBE1x4uKSyu%2Fuploads%2FBfs4SxHOOZqP58IeQv9a%2F1.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

These parameters are listed below for reference.

| SERIAL3\_BAUD     | 921600          |
| ----------------- | --------------- |
| SERIAL3\_PROTOCOL | 2 (or MAVLink2) |

* Find the CAM1\_TYPE parameter, and set it to 5, then click "Save".
* Find the MNT1\_TYPE parameter, and set it to 6, then click “Save”.\
  \\

  <figure><img src="https://420566268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlAYp7UsbahBE1x4uKSyu%2Fuploads%2FDNCyPjKRrpXjhO5mvNyb%2F2.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>
* Find the “RC” category and set the RC6\_OPTION to 213 and the RC8\_OPTION to “Camera Trigger”. You may have to search for RC in the search bar to find these. For RC6\_OPTION, you will have to manually type in 213.

  <figure><img src="https://420566268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlAYp7UsbahBE1x4uKSyu%2Fuploads%2F2Iq6CpACmmhEXRfYCGFZ%2F3.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

  <figure><img src="https://420566268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlAYp7UsbahBE1x4uKSyu%2Fuploads%2FHSE4axNiMDwqT7fLCWqI%2F4.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

  <figure><img src="https://420566268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlAYp7UsbahBE1x4uKSyu%2Fuploads%2FDk1fNYcgtdPCpTqfl3zM%2F5.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>
* Click the “Tools” button in the top right corner, and select “Refresh”, then wait for the parameters to refresh. It is recommended to go back into the fly view (paper airplane icon) then back to the Parameters tab before proceeding.\\

  <figure><img src="https://420566268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlAYp7UsbahBE1x4uKSyu%2Fuploads%2FW051LWYXhf0i3hQ2Pl7H%2F6.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>
* Search for “MNT” and make sure that the parameters in the following table are set appropriately.\\

  <figure><img src="https://420566268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlAYp7UsbahBE1x4uKSyu%2Fuploads%2FAwZUL9IMNrWVjNPq8yU4%2F7.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

| MNT1\_DEFLT\_MODE | 3    |
| ----------------- | ---- |
| MNT1\_LEAD\_PITCH | 0    |
| MNT1\_LEAD\_RLL   | 0    |
| MNT1\_NEUTRAL\_X  | 0    |
| MNT1\_NEUTRAL\_Y  | 0    |
| MNT1\_NEUTRAL\_Z  | 0    |
| MNT1\_PITCH\_MAX  | 90   |
| MNT1\_PITCH\_MIN  | -90  |
| MNT1\_RC\_RATE    | 30   |
| MNT1\_RETRACT\_X  | 0    |
| MNT1\_RETRACT\_Y  | 0    |
| MNT1\_RETRACT\_Z  | 0    |
| MNT1\_ROLL\_MAX   | 0    |
| MNT1\_ROLL\_MIN   | 0    |
| MNT1\_YAW\_MAX    | 180  |
| MNT1\_YAW\_MIN    | -180 |

* Click again on the “Tools” button and click “Reboot Vehicle”. Then, close QGC on the Herelink and re-open the application and wait for all parameters to load.\\

  <figure><img src="https://420566268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlAYp7UsbahBE1x4uKSyu%2Fuploads%2F735GWmkNtte6BfDbSXpt%2F8.png?alt=media" alt="" width="491"><figcaption></figcaption></figure>
* You should now see the iXM-100 camera when using the “Camera” tab here.\
  \
  You should be able to do pitch movements of the camera by moving the wheel back and forth on the Herelink, and clicking the CAM button on the Herelink should cause the camera to take a picture.\\

  <figure><img src="https://420566268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlAYp7UsbahBE1x4uKSyu%2Fuploads%2FJZAi2QWPdU9lwGu3LinH%2F9.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>
* You can change the settings of the camera in a few different ways. See the “How to Change Camera Settings” section of this document for more information.
* Due to the limited number of switches and buttons available on the Herelink controller, you can only move the camera one axis at a time in single-operator mode, unless you have MavCam installed (standard on complete packages purchased through Arcsky).
* Setup completed.
