mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
* 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>
52 lines
2.5 KiB
Markdown
52 lines
2.5 KiB
Markdown
# 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](../advanced_config/sensor_thermal_calibration.md) 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](../config/compass.md) 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.
|
|
1. Select **"Q" icon > Vehicle Setup > Sensors** (sidebar) to open _Sensor Setup_.
|
|
1. Click the **Accelerometer** sensor button.
|
|
|
|

|
|
|
|
::: info
|
|
You should already have set the [Autopilot Orientation](../config/flight_controller_orientation.md).
|
|
If not, you can also set it here.
|
|
:::
|
|
|
|
1. Click **OK** to start the calibration.
|
|
1. 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.
|
|
:::
|
|
|
|

|
|
|
|
1. 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
|
|
|
|
- [QGroundControl User Guide > Sensors](https://docs.qgroundcontrol.com/master/en/qgc-user-guide/setup_view/sensors_px4.html#accelerometer)
|
|
- [PX4 Setup Video - @1m46s](https://youtu.be/91VGmdSlbo4?t=1m46s) (Youtube)
|