# SETUP WITH PX4

Parameter Setup

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

| Parameter             | Value      | Description                                                        |
| --------------------- | ---------- | ------------------------------------------------------------------ |
| **Firmware Version**  | Latest     | Required for MAVLink v2 support and gimbal features                |
| **MAV\_1\_CONFIG**    | TELEM2     | Assign MAVLink instance 1 to telemetry port 2 (TELEM2)             |
| **SER\_TEL2\_BAUD**   | 115200 8N1 | Set TELEM2 baud rate to 115200, 8 data bits, no parity, 1 stop bit |
| **MAV\_1\_FORWARD**   | 1          | Enable forwarding of MAVLink messages                              |
| **MNT\_MODE\_IN**     | RC         | Mount input mode: manual control via RC channels                   |
| **MNT\_MODE\_OUT**    | 2          | Mount output mode (specific to hardware/protocol)                  |
| **MNT\_RC\_IN\_MODE** | 1          | RC input mode: angular control                                     |
| **MNT\_MAN\_PITCH**   | AUX3       | Manual control for pitch (tilt) assigned to AUX3                   |
| **MNT\_MAN\_ROLL**    | AUX2       | Manual control for roll (zoom) assigned to AUX2                    |
| **MNT\_MAN\_YAW**     | AUX1       | Manual control for yaw (pan) assigned to AUX1                      |
| **RC\_MAP\_AUX1**     | Channel 6  | Maps RC channel 6 to AUX1 (yaw control)                            |
| **RC\_MAP\_AUX2**     | Channel 7  | Maps RC channel 7 to AUX2 (zoom control)                           |
| **RC\_MAP\_AUX3**     | Channel 8  | Maps RC channel 8 to AUX3 (pitch control)                          |
| **COM\_RC\_IN\_MODE** | 3          | RC input mode blending (e.g., RC + MAVLink)                        |


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gremsy.com/payloads/orus-l/third-parties-integration/mavlink-autopilot/setup-with-px4.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
