MAGCALIBRATION help

the instructions in the .pde for magcalibration have me a bit confused.it gives the following example in the pde comments---Example: Magnetic north calibration show -1.2 degrees offset and declination(true north) is -5.6 then the MAGCALIBRATION should be -6.8. Your GPSreadings are based on true north.question 1where am i supposed to get those values?---when input my long, lat in magnetic-declination.com, it gives me a declination of positive 14degrees, 6 minutes.question 2am i supposed to enter this value (14.6) into #define MAGCALIBRATION ?---it then talks about using a compass (i bought a real one) and "then adjust this value until you have a 0 degrees reading in the Configurators artificial horizon. "question 3um, what value? am i supposed to go back and forth between CLI and configurator?---and then, there is the geo correction factor that always goes back to 0 even though i update it according to the instructions.question 4wth? :^Pi am using piratesNG, btwmy arducopter is coming along slowly but surely! thanks in advance for the help!

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

Join diydrones

Email me when people reply –

Replies

  • thanks sebastian and phillip.

    although my declination is positive, when I entered that value into MAGCALIBRATION, the heading reported by configurator got worse. i instead entered -14.1 and it was within 5 degrees. i added that to -14.1 and my resulting MAG value was -9.1

    my compass is now within 1 deg. 

    i also lowered the heading hold PID from default 0.200 to 0.100 and the quad doesn't overshoot as much as it did before. a solid position hold is not quite there, but it is getting closer.

  • 4. it is not that importand for GPS hold, but you would need it for waypoint flying
This reply was deleted.

Activity

Neville Rodrigues liked Neville Rodrigues's profile
Jun 30
Santiago Perez liked Santiago Perez's profile
Jun 21
More…