Calibration and Tuning

Sensor Calibration

It is not necessary to perform calibrations as a matter of course. Often a calibration will not be required even if the aircraft is relocated a long distance (e.g. by air travel). Compass handling in particular has been improved as compared to past PX4 implementations. For example, shortly after takeoff, the aircraft automatically performs a compass calibration. In general, sensor calibration should be unnecessary. There are times when it may be required:

  • If the magnetic field strength in the operating area is significantly different than where it was calibrated. If the aircraft appears to have the wrong heading on the ground, makes a large move after takeoff, or flies crooked for a few seconds, those are indicators you should do a compass calibration.

  • If the drone has a significant ferrous or magnetic payload installed, it may be required to perform calibration with the payload installed to improve performance.

  • If the operating temperature is very hot or cold, it may be required to do a gyro and accelerometer calibration to get best performance. In those cases, power on the aircraft and allow it to sit for 10 minutes in ambient conditions to allow the electronics to warm up, then do gyro and accel cal as directed by AMC. A warning about high accelerometer bias is an indication to do this.

  • after doing a full parameter reset, it is usually wise to recalibrate.

Use AMC to calibrate the sensors. See AMC docs for the GUI details.

While performing an Accelerometer Calibration, it is best to fold the arms of the Astro and set it down in each orientation. Accelerometer calibration may result in issues if done without placing the drone on a flat surface.

After recalibrating any sensor, make sure to restart Astro before flying. Some changes may not take effect until you reboot the drone.

Magnetic Interference

In the event of magnetic interference preventing the aircraft from taking off, follow these pro-tips.


Astro is pre-tuned by Freefly, and can be flown without changes.

We recommend against changing low-level control parameters. Changes there could cause instability or control issues which could result in a crash.

Loading default parameters or known-good presets will allow you to quickly return Astro to a functional and safe state if there is ever uncertainty about changes to the tuning properties.

Changing low-level parameters requires activating AMC Advanced Mode. Then, navigate to Vehicle Setup > Parameters.

Last updated