ArduPilot Mega and Magnetometer Setup

I am new to the compass setup, have done several searches and all I come up with is compass / arducopter info.I have enabled the compass but that is it...Can anyone point me to any information about proper setup and or calibration procedures pertaining to the HMC5843 Compass?Thanks guys/gals!Brett Horton

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

Join diydrones

Email me when people reply –

Replies

  • After ridiculous amount of waving the plane, - and I mean like half an hour or more, with breaks just to verify error in each direction, the maximum error is now at most 20degrees. - and the offset values kept changing.

    AP flies very well now (compared to before) - yet - I would not consider 20degrees off being very good for a multirotor.

    So thanks - I am still confused how this much "work" can be standard procedure, :)  - and filed a feature request to be able to save/restore the offsets.  

  • I just spent over 10 minutes waving the plane in all possible directions.

    the values went up as high as -38,8,41

    When I started  west was worst, almost 50degree off.   now west is 20degree too far south, but south is 55degree off to east !

    This is not looking good at all.

    My http://code.google.com/p/ardupilot-mega/issues/detail?id=537&ca...  just got closed fast and brutal.

    There must be an answer to this problem ? - I am not the first one to experience it.

  • to make things worse, I live well above polar circle - and out magnetic field is stronger in vertical, than horizontal direction.

  • Arduplane 2.28 - I recognize all the symptoms you have, as my own problems.

    have fun with the log: it even flies backwards..  http://code.google.com/p/ardupilot-mega/issues/detail?id=537&q=...

    So - did you find a solution ?

  • Thanks, 

    Again keep in mind we are using this on a fixed wing aircraft,

    We where test flying, including the mag yesterday. Compass disabled, everything good in auto, compass enabled, switch to auto mode the aircraft flys figure eights, but not around a point, gets blown down wind.... 

  • I have just asked a similar question because I don't think you can use the APM with a 5843 due to the different supply voltages and probable voltage swings on the I2C lines that will exceed the 5843 voltages .... but I wait to see what the experts have to say.

    Peter

    ps I have been doing some further research and this answers the question about using the Sparkfun 5843 http://code.google.com/p/arducopter/wiki/Quad_Magnetos
    pps calibration is I believe not necessary on the APM as the software does it whilst flying.
This reply was deleted.

Activity