Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excessive offset for mag 0 #3997

Closed
brendanogrady1 opened this issue Mar 13, 2016 · 8 comments
Closed

Excessive offset for mag 0 #3997

brendanogrady1 opened this issue Mar 13, 2016 · 8 comments

Comments

@brendanogrady1
Copy link

cal] ERROR: Excessive offset for mag 0
[cal] calibration failed: mag
PX4 sensor calibration txt.txt

@kd0aij
Copy link
Contributor

kd0aij commented Mar 13, 2016

try latest master (see 8e4a1ca)
note that your offsets didn't get saved in the list you posted

@kd0aij
Copy link
Contributor

kd0aij commented Mar 13, 2016

also, make sure to minimize stray magnetic fields influencing the magnetometer, or it won't work well

@Inspirati
Copy link
Contributor

pls note: i found i had to import your patch in order to have my work on
the new LIS3MDL driver pass the calibration routines expectations too..
(excess offsets)

On 13 March 2016 at 23:59, Mark Whitehorn notifications@github.com wrote:

try latest master (see 8e4a1ca
8e4a1ca
)
note that your offsets didn't get saved in the list you posted


Reply to this email directly or view it on GitHub
#3997 (comment).

@Inspirati
Copy link
Contributor

Inspirati commented Mar 13, 2016 via email

@brendanogrady1
Copy link
Author

Hi, I am new to everything here. I do not know where to find the offsets output in the QGroundControl program. I found this issues forum by searching the error on google and joined GitHub to post my own issue. I'm in a bit over my head but trying to learn fast.

I re-ran sensor calibration with an extra long cable connected to my computer and did it as far from anything as I could get, but got the same result.

I ran analyze and turned on everything... not sure if this will help?
analyze log.txt

analyze log_compressed.txt

Thank you and I hope I am not wasting your time.

@LorenzMeier
Copy link
Member

@brendanogrady1 Try to flash the "developer version" (tick the "Advanced checkbox at the bottom of the flash widget"). That should fix it.

@brendanogrady1
Copy link
Author

Well, that worked! Thank you so much!

Awesome!

@brendanogrady1
Copy link
Author

Info shows a warning but calibration worked:

offsets: 0.4796, 0.2997, -1.0175, #0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants