# Calibration of the UAV sensors

### Calibration info

This guide explains how to calibrate the Stribog UAV's sensors — specifically the **compass**, **accelerometer**, and **gyroscope**.

{% hint style="warning" %}
You don’t always need to calibrate every sensor during a calibration session.
{% endhint %}

* **Compass Calibration**:\
  Perform compass calibration if drone’s heading doesn’t match the actual direction it's facing, if it drifts off course, or if it behaves unpredictably. An incorrectly calibrated compass is often the main cause of erratic UAV flight behavior.
* **Accelerometer Calibration**:\
  Calibrate accelerometer if compass calibration didn’t resolve the issue and the UAV is still flying unpredictably.
* **Gyroscope Calibration**:\
  The gyro is usually calibrated automatically at startup. However, after a crash or hard impact, it’s a good idea to manually recalibrate the gyroscope along with the other sensors to ensure stable flight.

{% hint style="danger" %}
After calibration/s always reboot drone by powering it down, not only autopilot via **QGroundControl**
{% endhint %}

{% stepper %}
{% step %}
**Calibration Setup**

**Calibration Setup**

1. Turn off the Doodle Labs radio (wearable).
2. Turn on the Stribog UAV.
3. Turn on the Getac notebook.
4. Open `QGroundControl-x86_64.AppImage` on the Getac notebook by double-clicking the app.\\

   <figure><img src="/files/PXNVMIbcX7Px7TH0KdqK" alt=""><figcaption></figcaption></figure>
5. Connect the Stribog and Getac using a **Micro USB to USB-A data cable**.
6. After a few seconds, the status in the top left corner of `QGroundControl` should change from **Disconnected (Connection Lost)** to **Not Ready** or **Ready**. This indicates that the Stribog autopilot is connected.\\
7. After a few seconds, the status in the top left corner of `QGroundControl` should change from **Disconnected (Connection Lost)** to **Not Ready** or **Ready**. This indicates that the Stribog autopilot is connected.\\

   <figure><img src="/files/sVZ5ZsQgI2Hfiw5ga7ax" alt=""><figcaption></figcaption></figure>
8. Click on the <img src="/files/bOUFQHkkL1PoMKaNuVc7" alt="" data-size="line"> logo in the top left corner.
9. A menu will pop up. Select **Vehicle Configuration**.\\

   <figure><img src="/files/OIRxiM1LYyxAHVdp8ukb" alt="" width="296"><figcaption></figcaption></figure>
10. On the right panel, click on the **Sensors** tab.

    <figure><img src="/files/joLfvYkznSKSmY32khH6" alt=""><figcaption></figcaption></figure>
11. From this page, you can calibrate sensors such as the compass, accelerometer, and gyro. Each calibration process is described in detail below.
    {% endstep %}

{% step %}
**Compass Calibration**

**Compass Calibration**

1. Click on the **Compass** tab. Do **not** change any settings in the pop-up window.

   <figure><img src="/files/n5THvDPX4McNbeITWBg8" alt="" width="312"><figcaption></figcaption></figure>
2. Click `OK` to begin calibration.

   <div align="center"><figure><img src="/files/jM7y4kg1UM6fhBwjOFko" alt="" width="308"><figcaption></figcaption></figure></div>
3. **Calibration**: Randomly rotate the drone along each axis(roll, pitch, yaw) until the calibration bar fills up.

   <figure><img src="/files/v4gRnZRa68QO2cL9aqSm" alt=""><figcaption></figcaption></figure>

   <figure><img src="/files/LeZRZ8RkCOW01Jt2gR5B" alt=""><figcaption></figcaption></figure>
4. If calibration is not successful, an error message will appear: `Calibration failed`. Repeat the process if this happens.\\

   <div align="center"><figure><img src="/files/4LVFVfrfUW5isj0Mwwbo" alt=""><figcaption></figcaption></figure></div>
5. If successful, a `Calibration complete` window will appear. It will also show a calibration quality indicator — aim for the **green region**. You can always redo the calibration if needed.\\

   <figure><img src="/files/rcu8e09DOga0Fni2maXK" alt="" width="310"><figcaption></figcaption></figure>

{% endstep %}

{% step %}
**Accelerometer Calibration**

**Accelerometer Calibration**

1. Click on the **Accelerometer** tab.
2. Click `OK` to start calibration. Do **not** change any settings in this tab.\\
3. Click `OK` to start calibration. Do **not** change any settings in this tab.\\

   <figure><img src="/files/jwqsxKUGC5K0B2pFCrx4" alt="" width="313"><figcaption></figcaption></figure>
4. Follow the pictograms: hold the Stribog UAV in the specified orientation. Hold the UAV still, while pressing `Next` button.\\

   <div align="center"><figure><img src="/files/Swl2kBDWLP3i2KsQ1Tty" alt=""><figcaption></figcaption></figure></div>
5. When each pictogram's bezel turns green, that axis is calibrated. Continue until all are complete.
   {% endstep %}

{% step %}
**Gyro Calibration**

**Gyro Calibration**

1. Place the Stribog UAV on a flat surface and leave it completely still.
2. Click on the **Gyro** tab.

   <div align="center"><figure><img src="/files/s9nbGjYZm57UXVOuBLSf" alt=""><figcaption></figcaption></figure></div>
3. Click `OK` to calibrate. The process should complete within a second.
   {% endstep %}

{% step %}
**After Calibration**

**After Calibration**

1. Unplug the **Micro USB** cable from the PC and the Stribog.
2. Close `QGroundControl-x86_64.AppImage`.
3. Turn on the Doodle Labs radio.
4. **Restart the Stribog** by holding the power button until the arm LEDs turn off. Then turn it on again by pressing the power button.
   {% endstep %}
   {% endstepper %}

***


---

# 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.airvolute.com/uas-platforms/nexus-stribog-uas/stribog-uas-user-manual/troubleshooting/calibration-of-the-uav-sensors.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.
