PX4-Autopilot/docs/en/config/accelerometer.md
Hamish Willee 88d623bedb
Move PX4 Guide source into /docs (#24490)
* Add vitepress tree

* Update existing workflows so they dont trigger on changes in the docs path

* Add nojekyll, package.json, LICENCE etc

* Add crowdin docs upload/download scripts

* Add docs flaw checker workflows

* Used docs prefix for docs workflows

* Crowdin obvious fixes

* ci: docs move to self hosted runner

runs on a beefy server for faster builds

Signed-off-by: Ramon Roche <mrpollo@gmail.com>

* ci: don't run build action for docs or ci changes

Signed-off-by: Ramon Roche <mrpollo@gmail.com>

* ci: update runners

Signed-off-by: Ramon Roche <mrpollo@gmail.com>

* Add docs/en

* Add docs assets and scripts

* Fix up editlinks to point to PX4 sources

* Download just the translations that are supported

* Add translation sources for zh, uk, ko

* Update latest tranlsation and uorb graphs

* update vitepress to latest

---------

Signed-off-by: Ramon Roche <mrpollo@gmail.com>
Co-authored-by: Ramon Roche <mrpollo@gmail.com>
2025-03-13 16:08:27 +11:00

2.5 KiB

Accelerometer Calibration

The accelerometer must be calibrated on first use or if the flight controller orientation is changed. Otherwise it should not need to recalibrated (except perhaps in winter, if the flight controller was not thermally calibrated in the factory).

::: info Poor accelerometer calibration is generally caught by preflight checks and arming-denied messages (QGC warnings typically refer to "high accelerometer bias" and "consistency check failures"). :::

:::tip This is similar to compass calibration except that you hold the vehicle still (rather than rotate it) in each orientation. :::

Performing the Calibration

QGroundControl will guide you to place and hold your vehicle in a number of orientations (you will be prompted when to move between positions).

The calibration steps are:

  1. Start QGroundControl and connect the vehicle.

  2. Select "Q" icon > Vehicle Setup > Sensors (sidebar) to open Sensor Setup.

  3. Click the Accelerometer sensor button.

    Accelerometer calibration

    ::: info You should already have set the Autopilot Orientation. If not, you can also set it here. :::

  4. Click OK to start the calibration.

  5. Position the vehicle as guided by the images on the screen. Once prompted (the orientation-image turns yellow) hold the vehicle still. Once the calibration is complete for the current orientation the associated image on the screen will turn green.

    ::: info The calibration uses a least squares 'fit' algorithm that doesn't require you to have "perfect" 90 degree orientations. Provided each axis is pointed mostly up and down at some time in the calibration sequence, and the vehicle is held stationary, the precise orientation doesn't matter. :::

    Accelerometer calibration

  6. Repeat the calibration process for all vehicle orientations.

Once you've calibrated the vehicle in all the positions QGroundControl will display Calibration complete (all orientation images will be displayed in green and the progress bar will fill completely). You can then proceed to the next sensor.

Further Information