This article shows how to perform basic accelerometer calibration (using Mission Planner).
Accelerometer calibration is mandatory in ArduPilot.
Accelerometer calibration cannot be performed while vehicle is armed
If the board is mounted in a non-standard orientation (i.e. arrow is not pointing forward) then please ensure the AHRS_ORIENTATION is properly set before doing the accelerometer calibration.
Under Setup | Mandatory Hardware, select Accel Calibration from the left-side menu.
Click Calibrate Accel to start the calibration.
Mission Planner will prompt you to place the vehicle each calibration position. Press any key to indicate that the autopilot is in position and then proceed to the next orientation.
The calibration positions are: level, on right side, left side, nose down, nose up and on its back.
- It is important that the vehicle is kept still immediately after pressing the key for each step. This is more important than getting the angle exactly right, ie. left being 90deg to horizontal,etc. Except for the first “LEVEL”, the positions can be within 20 degs of being exact. Being still in each position as you press the key is much more important.
- You may need to calibrate the board before it is mounted if the size/shape of the vehicle makes this difficult.
- The level position is the most important to get right as this will be the attitude that your controller considers level while flying.
Proceed through the required positions ,using the the Click when Done button after each position is reached.
When you’ve completed the calibration process, Mission Planner will display “Calibration Successful!” as shown below.
Video demonstration (Copter)¶
Video demonstration of accelerometer calibration. This is for an older version of Copter/Mission Planner, but is useful as an example of how you might hold a Copter.