Hello,

I have a problem with my APM2 with the calibration of accelerometers use the M.P. 1.2.67, and when I do the calibration, as wiki procedures, it gives me the following error "Calibration Failed", I run both in MP mode in the CLI.
What might be the APM2 defective?

APM2 fw 3.0.1

MP 1.2.67

I hope this is the right thread!!!!!!

Thanks. 

Views: 3706

Reply to This

Replies to This Discussion

Hello, you have the Z Acc offset too high for the calibration to take place correctly (limits are 3.5 and you have 4.09)

While it is not a big deal, I would consider a RMA, in fact this is probably due to a misplacement of the MPU6000, or a bad soldering, or worse a defective mpu6000 unit.

If you don't want to wait you can try and compile the code yourself and put a higher limit in the 

libraries/AP_InertialSensor/AP_InertialSensor.cpp file at line (circa) 480.

This is the code you have to modify:

// sanity check offsets (3.5 is roughly 3/10th of a G, 5.0 is roughly half a G)
if( accel_offsets.is_nan() || fabsf(accel_offsets.x) > 3.5f || fabsf(accel_offsets.y) > 3.5f || fabsf(accel_offsets.z) > 4.1f ) {
success = false;
}

Emile

Hello Emile,


Thanks for the response and the council to open an RMA, he'll try to change the code to see if it passes the setup.

Ciao

Fabio

Just to note, for some reason while i was trying to calibrate the Accel via the Wireless Radio so that not to have cables in the way, it was failing everytime... 

Once I connected via wire/usb and calibrated via the CLI, it worked.

Reply to Discussion

RSS

© 2019   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service