# Flying and Testing

Follow 3 step:

* Flight with debug mode to make sure vision landing work
* Flight **without** debug mode - Drone will move when detect Tag
* Tuning for smooth landing

{% hint style="info" %}
Note: Flight test with Precision Landing is quite dangerous. So Please carefully before doing it. We are not responsible for any damage caused by Precision Landing. Recommend flying test with Dev Drone.
{% endhint %}

### Flight with debug mode

In debug mode, the XBLink will **only** process image and send the video streaming with marker information (x, y, z, latency, marker Id). XBLink will NOT send the mavlink command to flight controller.

Image processing will be activated immediately without any conditions.

* Open Pilotapp -> Precision Landing Tab
* **Enable** Active and Debug
* **Uncheck** Enable send land mavlink command
* Apply to save para

&#x20;

![](/files/D1fy1R5RAulvWQgkh9uc)

* Take off 3-5m in Hover Mode
* And see **dectect ID, altitude and para** on ground control station. If it dectect ID and altitude nearly same real altitude. It mean vision landing is good.

a

![](/files/Ctjx9iEBS5SxfVOnMB9U)

### Flight without debug mode

After Flight with debug mode with good result, you can allow xblink control your drone for PL

* **Disable** Debug mode
* **Check** Enable send land mavlink command
* Allow PL on Loiter Mode, RTL mode and Land mode.
* Apply to save para

![](/files/pnps5UKzoZuRWj2Wh3dk)

* Take of 7 m in Hover Mode
* Move Drone above Tag and switch to Land mode.
* Drone with move by XBLink controller (you will see PL enable on your Ground cotrol station) . if the drone is **jerky or unstable. Switch back to hover mode.**

### **Tuning**&#x20;

If the drone is jerky or unstable, we need to adjust some para:

* Make sure **Size mappings are measured correctly.**
* **Adujst X/Y Angle Landing Factor (**&#x54;he movement of drone for each processed image)

![](/files/gvGvnU7XxP2dkr9mN6WB)


---

# 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.xbstation.com/enterprise-features/precision-landing/flying-and-testing.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.
