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

Magnetometer Calibration Procedure Inquiry #20

Open
chefseg opened this issue Apr 18, 2022 · 2 comments
Open

Magnetometer Calibration Procedure Inquiry #20

chefseg opened this issue Apr 18, 2022 · 2 comments

Comments

@chefseg
Copy link

chefseg commented Apr 18, 2022

Hello @niru-5,

I hope you are doing well!
I have a few questions regarding the Magnetometer calibration process - how exactly does one properly calibrate the Magnetometer?
Your blog post states to rotate the sensor in a "figure 8" shape but how exactly is this done? Would you be able to demonstrate this using pictures or video for further clarity?

After calibration of the Magnetometer, when the sensor is stationary and I run the Jupyter Notebook script, three separate ellipsoids appear in separate regions in the plot. Is that a result of a good calibration or does that show remaining undesired magnetic effects?

Thank you so much for your help!

@marcofariasmx
Copy link

@chefseg where you able to fix this or achieve proper calibration? I'm still confused on how to do it properly

@niru-5
Copy link
Owner

niru-5 commented May 15, 2022

Hi @chefseg and @marcofariasmx

I believe a bit more clarification is required for the figure 8 movement.
The movement could be seen in the following videos
video 1 The user does it once, but in this situation a bit longer till all the values are received.
video 2 0:45 Similar movement is shown here as well.

I will try to create a better graphic and update the readme.
During the writing of the repo, this was done by packaging the whole hardware into a small case. The power source needs to be a bit away from the mag sensor as it can have an effect on it.

Coming to the question of three different ellipsoids, they are not calibrated. I have written a bit about the reasoning here -> link.

Thank You
Niranjan

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

3 participants