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

Fix the IMU relative frame respect to the absolute of the earth #361

Open
cwarrior777 opened this issue Apr 24, 2019 · 2 comments
Open

Fix the IMU relative frame respect to the absolute of the earth #361

cwarrior777 opened this issue Apr 24, 2019 · 2 comments

Comments

@cwarrior777
Copy link

Hello Kris,
First of all thank you for this amazing code!
After dealing with the calibration of the magnetometer, I have encountered the drawback of the absolute frame on which the IMU is referenced.
I am using the program MPU9250_MS5611_BasicAHRS_t3.ino, but I can not find in what point of the code you fix what is the relative frame with respect to the absolute picture.
I ask you this since I want to save an unique relative frame, because every time I initialize the serial monitor with my IMU in a different position it sets that initial position as absolute affecting the true measurement I'm looking for, I really do not know at what point and how can I save the relative frame from the desired position so that my sensor already starts referencing.

Regards!

@kriswiner
Copy link
Owner

kriswiner commented Apr 24, 2019 via email

@cwarrior777
Copy link
Author

Hi Kris,
First of all, thanks for answering.
I think it does not explain me well, what I'm looking for is to be able to start the sensor in any position, but with the same one already marking the degrees with respect to a position already fixed previously, I think I have solved it, it comes by the side of manually loading the data of biases and offset in the records of accelerometer and gyroscope, is this true ?.

Regarding your recommendations, it may be true that I have to improve my MCU, since I am using an Arduino Mega to perform all operations with quaternions.
When you say that the sensor may not be well calibrated, I noticed that Mz is close to -Mz and I think it's acceptable, but even so I'm trying to get a good calibration when doing the 8-way, you could advise me some way in which can perform a good figure 8 to achieve excellent calibration? (through photos or videos).

Regards!

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