MPU non plane soldered
Posted: Thu Mar 31, 2016 10:31 am
Hi all,
I'm back with a new problem. Recently after doing some test I've found that MPU stop to answer to my I2C packets. After an inspection I've found a bad soldered joints and I've resoldered them. After this drone works again but I've a small deviation on Roll and Pitch, probably becouse I've placed to much solder on one side or moved it when I was soldering. I don't want to resolder IC again to avoid to damage MPU, so I want to try to compensate incode. Values from eulerRollActual and eulerPitchActual are respectively 3.2-3.4 and 0.7-1.1 and, if I place drone in plane, this cause PID to increase slowly the spin of two motors used for Roll to compensate this deviation.
What I want to ask before to procede to try to solve this problem is this:
- Shuldn't calibration in Stabilizer function avoid this kind of problems resetting to 0 all deviations?
- There is a part in code dedicated to this kind of manual/automatic corrections? Something like: "MPU deviations" and "Motor deviations".
Last question is particularly important so I will know if I should add custom code to correct this kind of deviations or if there's already a part of code that do this.(not only for MPU I'm also interested for motors deviation in case of problems with motors)
Thank you!
I'm back with a new problem. Recently after doing some test I've found that MPU stop to answer to my I2C packets. After an inspection I've found a bad soldered joints and I've resoldered them. After this drone works again but I've a small deviation on Roll and Pitch, probably becouse I've placed to much solder on one side or moved it when I was soldering. I don't want to resolder IC again to avoid to damage MPU, so I want to try to compensate incode. Values from eulerRollActual and eulerPitchActual are respectively 3.2-3.4 and 0.7-1.1 and, if I place drone in plane, this cause PID to increase slowly the spin of two motors used for Roll to compensate this deviation.
What I want to ask before to procede to try to solve this problem is this:
- Shuldn't calibration in Stabilizer function avoid this kind of problems resetting to 0 all deviations?
- There is a part in code dedicated to this kind of manual/automatic corrections? Something like: "MPU deviations" and "Motor deviations".
Last question is particularly important so I will know if I should add custom code to correct this kind of deviations or if there's already a part of code that do this.(not only for MPU I'm also interested for motors deviation in case of problems with motors)
Thank you!