we are building a copter and for the past couple of days we had the toilet bowl problem i will share all my flight logs and explain my set up.
at first our drone started to drift away when it is switched to althold or poshold or any mode that is GPS dependent but instead after this modifications the drone started to fly in circles ther was an improvement but we want it to fly smoothly and end the problem.
the modifications(we just tried to decrease the magnetic interference):
1-placed all the wires at the farthest place possible from the navio2(near the battery)
2-we placed some aluminum foil(all around the navio2+raspberry) to block any kind of interference to the compass
here is our logs if there is any possible mistakes we overlooked we are happy to hear any kind of feedback.
lastly we are using a 3D printed closed box and we placed the raspberry pi+navio2 inside it my question is did this have any effect or it don’t matter. https://www.thingiverse.com/thing:4095463
00000100.BIN (2.4 MB)