-
Notifications
You must be signed in to change notification settings - Fork 20
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
Using data from get_calibration_ellipsoid.py #13
Comments
Thank you for kind words. It's been a while for me too. ellipsoid_fit_python/plot_ellipsoid.py Line 23 in 0366607
|
I think that Marko asks for an example in real-time. For example, when you are getting raw data from magnetometer, how do you use the [center, radii, evecs, Coefficients, etc] which get_calibration_ellipsoid showed you, for correcting every [x,y,z] which you are getting from magnetometer?. That example he wants I think. |
Yeah maybe it's not obvious enough. If anyone will read this, I think what you need is to save the output of ellipsoid_fit() or transformation (TR and center) on calibration, and when you receive new data, do something like calibrated_data = TR.dot(data - center) assuming data has [x, y, z] column vectors. Other transposes and stuff are specific to plotting, so add those when you need. |
Hello.
First thank you for the great work. It's been a while past my university graduation and I'm having issues with the matrices and all the math stuff. Anyway I?m trying to make sense of all of it.
One dumb question. Once I generate the ellipsoid parameters with get_calibration_ellipsoid.py, how do I then apply those parameters to real-time incoming data from a sensor? Can you add that example too?
Thanks, Marko
The text was updated successfully, but these errors were encountered: