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
Calculating transformation matrix #15
Comments
As far as I recall, it is not related to finding the ellipsoid, it is using the ellipsoid found to calibrate the magnetometer. The perfectly calibrated one would be returning such "spherical" data, i.e. when you rotate it by x degrees, the magnetic field data should indicate that. TR is the transformation you would apply to raw data to get the calibrated one. |
Thanks for the answer! Yes I understand that this is for magnetometer raw data transformation ( I want to use it for that as well! :) ) I just dont understand what are these calculations:
The ellipsoid_fit function already returns the evecs, that is a transformation matrix in itself isn't it? |
I think it is just scaling along the principal axes of the ellipsoid we find. |
One more question here. In the original matlab code, it was possible to call the function with the 'xyz' parameter. That way (at least from the code comments) it seems that the algorithm will produce a sphere fitting. Can you remember why you choose to implement the arbitrary one? |
As far as I remember, the author created several options for symmetrical ellipsoids, but the most relevant to magnetometer calibration was the arbitrary one. What is the reason in fitting a sphere to the points if you want to find a transformation from the ellipsoid to sphere? If your data fits to sphere, the most arbitrary method will still work, just the axes in the result would be of equal length. |
Hi!
First, thank you for the great implementation.
I would like to ask, what is happening here:
I can not find in the original matlab code this part. Can you explain please what this do ? :)
The text was updated successfully, but these errors were encountered: