IMU calibration on APM 2

Hi guys,

Do you know why the APM 2 board needs to recalibrate the gyro sensors (MPU 6000) on each power on.

Is it possible to modify the software in order to save and use a single calibration. This will be interesting to avoid crash when the board reset during a flight.

 

thanks

Bernard

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Although I have never faced  reset in a flight, this is an interesting issue. I am not that expert in the APM hardware, but i have browsed many of the provided libraries. If you check the Arduino folder, you will find the gyro/accel calibration process included inside "startup_IMU_ground() " function in the system.ino file. You will find imu.int() finction that does the calibration. You may want to omit this and use direct calibration after you obtain the satisfactory calibration coefficients.

    For the calibration routine, you can find it in the AP_IMU library, in the AP_IMU_INS.cpp.


    I hope that help. Sorry for the very late reply, but I just came across your post, and I thought I should whatever I have.

    Good luck.

This reply was deleted.

Activity