> For the complete documentation index, see [llms.txt](https://docs.gremsy.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gremsy.com/tiny-gimbal/g-hadron/autopilot-setup/setup-with-px4.md).

# SETUP WITH PX4

#### **1. Hardware Setup** <a href="#bkmrk-1.-hardware-setup" id="bkmrk-1.-hardware-setup"></a>

Connect the G-Hadron UART to the Telem2 on the PX4 systems<br>

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2FqY9h1clvzXofJXWBaUQU%2Fimage.png?alt=media&amp;token=aee1a106-0150-4da6-9bb4-1dab466fd89d" alt=""><figcaption></figcaption></figure>

#### **2. Setting on the remote control** <a href="#bkmrk-2-2c-setting-on-the-re" id="bkmrk-2-2c-setting-on-the-re"></a>

G-Hadron is compatible with the Remote Control (RC) that supports the QGroundControl app (QGC). In this manual, all settings are made on Herelink Remote Control, the other controller does the same.

**SBUS channel settings**

G-Hadron needs to set up 2 channels to control the gimbal: one channel is for controlling rotation, and the other is for choosing the controlling axis.

**Set up channels controlling the gimbal**

Gimbal rotation control channel: CH6 (or any channels), use the wheel button on the Herelink remote:

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2FeOb5lwxYrUCaIOrSXDge%2Fimage.png?alt=media&amp;token=7d387181-4a1e-4fc6-a716-103b16f52167" alt=""><figcaption></figcaption></figure>

Gimbal axis selection channel: CH8 (or any channels), use the camera button on the Herelink remote.

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2FSpB9ZOujjtsDWMv4vziI%2Fimage.png?alt=media&amp;token=eb771ca6-d360-458e-a194-89821639644b" alt=""><figcaption></figcaption></figure>

#### **3. Setting parameters** <a href="#bkmrk-3.-setting-parameter" id="bkmrk-3.-setting-parameter"></a>

**Firmware Requirement**

* Version: update to the latest version.
* Support Mavlink v2 protocol

**Set up the telemetry baud rate**

G-Hadron connects to FC at the baud rate of 115200. In case of connecting G-Hadron to FC at any telemetry, note the telemetry setting at the corresponding baud rate. Example for telemetry 2:

* MAV\_1\_CONFIG: “TELEM 2”
* SER\_TEL2\_BAUD: “115200 8N1"
* MAV\_1\_FORWARD: "1"

**Set mount params**

* MNT\_MODE\_IN: “RC”
* MNT\_MODE\_OUT: “Unknown: 2”
* MNT\_RC\_IN\_MODE: “1”
* MNT\_MAN\_PITCH: “AUX3” // PAN/TILT choose axis
* MNT\_MAN\_ROLL: “AUX2” // Zooming, High: Zoom in, Neutral: Stop, Low: Zoom out (current: only using mode control by angle)
* MNT\_MAN\_YAW: “AUX1” // PAN/TILT move
* COM\_RC\_IN\_MODE: “Unknown: 3”

**Set RC map channels**

* RC\_MAP\_AUX1: “Channel 6” // set channel 6 to AUX1 (Yaw)
* RC\_MAP\_AUX2: “Channel 7” // set channel 7 to AUX2 (Roll)
* RC\_MAP\_AUX3: “Channel 8” // set channel 8 to AUX3 (Pitch)

#### **4. Setting App QGroundControl** <a href="#bkmrk-c2-a0-0" id="bkmrk-c2-a0-0"></a>

**Setup app QGroundControl**

* Step 1: Turn on Wifi on the remote to be able to download Zio parameter list
* Step 2: Enable UDP from Application Setting -> AutoConnect to the following devices

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2FEHbUmDOYfsiosZvvx2M4%2Fimage.png?alt=media&amp;token=93c81599-5b6c-4561-8b72-5cfbbb271f21" alt=""><figcaption></figcaption></figure>

**Successful connection**

<figure><img src="https://3309772875-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnikHUDUd2JXqkOsnOi7l%2Fuploads%2FI4M1VAmueDL6U5nWGQhS%2Fimage.png?alt=media&amp;token=7a51866b-bb36-4385-b342-076c85847c49" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.gremsy.com/tiny-gimbal/g-hadron/autopilot-setup/setup-with-px4.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
