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

GPS+AHRS with Xadow Mbed (mag calib) #35

Open
whatnick opened this issue Dec 1, 2015 · 7 comments
Open

GPS+AHRS with Xadow Mbed (mag calib) #35

whatnick opened this issue Dec 1, 2015 · 7 comments

Comments

@whatnick
Copy link

whatnick commented Dec 1, 2015

I have been following your work for a while and I have created a GPS- AHRS stack using modules from the Xadow family. You can see my mbed code here: https://developer.mbed.org/users/whatnick/code/Xadow_MPU9150AHRS/ . I was wondering if it would be possible to add the magnetometer initial calibration code to the mbed library. FYI , Xadow M0 runs the sensor fusion loop at 500Hz.

@kriswiner
Copy link
Owner

Hi Tisham,

Everything I put on github is open source; are you proposing to add
something from my repository for MPU9150 mag calibration on mbed? This is
fine with me. The most recent (complete) mag calibration function is
actually in the MPU9250 code.

Kris

-----Original Message-----
From: Tisham Dhar [mailto:notifications@github.com]
Sent: November 30, 2015 5:42 PM
To: kriswiner/MPU-9250
Subject: [MPU-9250] GPS+AHRS with Xadow Mbed (mag calib) (#35)

I have been following your work for a while and I have created a GPS- AHRS
stack using modules from the Xadow family. You can see my mbed code here:
https://developer.mbed.org/users/whatnick/code/Xadow_MPU9150AHRS/ . I was
wondering if it would be possible to add the magnetometer initial
calibration code to the mbed library. FYI , Xadow M0 runs the sensor fusion
loop at 500Hz.

Reply to this email directly or view it on GitHub
#35 .
<https://github.com/notifications/beacon/AGY1qrcP_td5SlkkpwfOzNN1wejCp9FEks5
pLPJRgaJpZM4Gr732.gif>

@whatnick
Copy link
Author

whatnick commented Dec 1, 2015

Yes I was proposing to port the calibration code to this library you have on mbed - https://developer.mbed.org/users/onehorse/code/MPU9150AHRS/ .

@whatnick
Copy link
Author

whatnick commented Dec 1, 2015

Could you point me to the .ino file with calibration code in it.

@whatnick
Copy link
Author

whatnick commented Dec 1, 2015

Looks like the sample loop is here: magcalMPU9250 . I will port this over to mbed.

@kriswiner
Copy link
Owner

See:

https://github.com/kriswiner/MPU-9250/blob/master/MPU9250_MS5637_AHRS_t3.ino

You can also read about some magnetometer calibration studies I did here:

https://github.com/kriswiner/MPU-6050/wiki/Simple-and-Effective-Magnetometer
-Calibration

Kris

-----Original Message-----
From: Tisham Dhar [mailto:notifications@github.com]
Sent: November 30, 2015 6:33 PM
To: kriswiner/MPU-9250
Cc: Kris Winer
Subject: Re: [MPU-9250] GPS+AHRS with Xadow Mbed (mag calib) (#35)

Could you point me to the .ino file with calibration code in it.

Reply to this email directly or view it on GitHub
#35 (comment) .
<https://github.com/notifications/beacon/AGY1qumImC-dnKUs5Vw3XAUTka0tbQhGks5
pLP5rgaJpZM4Gr732.gif>

@kriswiner
Copy link
Owner

Let me know if I can help...

-----Original Message-----
From: Tisham Dhar [mailto:notifications@github.com]
Sent: November 30, 2015 6:57 PM
To: kriswiner/MPU-9250
Cc: Kris Winer
Subject: Re: [MPU-9250] GPS+AHRS with Xadow Mbed (mag calib) (#35)

Looks like the sample loop is here: magcalMPU9250 . I will port this over to
mbed.

Reply to this email directly or view it on GitHub
#35 (comment) .
<https://github.com/notifications/beacon/AGY1qsta0CUAzwrHpPE5IB2OjGTmfu75ks5
pLQPqgaJpZM4Gr732.gif>

@whatnick
Copy link
Author

whatnick commented Dec 1, 2015

Hi Kris I have update the MPU9150 with the calibration loop here - https://developer.mbed.org/users/whatnick/code/Xadow_MPU9150AHRS/file/46b5acee9472/MPU9150.h . You could add it to your main repo for other Mbed users.

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

2 participants