Comments (5)
I have changed line 357, and will update this in the next upload. It does not make any difference in practice, because most IMUs are not that accurate anyway.
Line 358 is correct, though. I always use a space-fixed coordinate system where the z-axis is defined by gravity. If the IMU is oriented differently, it has to be indicated (approximately) by adjusting "R_initialOrientation".
The thing about coordinate systems is really confusing, and in fact, I am just about finishing a book on "3D Kinematics" for Springer, which is intended to provide the theoretical background when working in this area. What is your background, and how did you get into this area? I am still working on the 3D viewer (i.e.with OpenGL or PyGame), but have no satisfactory solution yet.
from scikit-kinematics.
I am now an affiliate researcher for some institute and we have a project which uses Tobii Glasses 2 eyetracker, which has MEMS gyro / accel built-in.
My question is how do I define an initial rotation matrix for a case when a person's gaze is headed towards Z axis, and vertical is Y positive, while left shoulder is X positive?
I tried http://andre-gaschler.com/rotationconverter/ and it seems that numpy.eye(3) is right. Still I get very high position values (about -100 meters on vertical axis).
And why is it that I must change the initial orientation if I have different axis configuration, I thought I just change columns ordering before setting in_data
.
from scikit-kinematics.
from scikit-kinematics.
That code simply reorders axes like that: X->Y, Y->Z, Z->X.
from scikit-kinematics.
from scikit-kinematics.
Related Issues (20)
- Denavit-Hartenberg convention HOT 2
- Real motion for test data HOT 1
- Sample rate vs. Sample period HOT 2
- Madgwick and Mahony 6Dof HOT 2
- initialization of orientation calculation for Kalman, Madgwick & Mahony HOT 3
- remove pos calculation from analytical(), make rotating q[0] to reference optional for all 4 orientation functions
- expose Kalman tunable parameters HOT 1
- the Kalman implementation questions HOT 2
- Madgwick and Mahony Update() does not support arrays with shape (N,3) HOT 1
- ImportError: cannot import name 'dist' from 'matplotlib.mlab' HOT 7
- Raspbian Buster installation anomaly
- Enable scikit-kinematics to run without OpenGL HOT 3
- ImuBase.calc_position wrongly uses normalized acc HOT 1
- Real time application HOT 3
- [question] IMU position estimate, bias issue?
- How to compute distance from positions? HOT 1
- R_init doesn't work as intended with manual sensors. HOT 2
- assertion failure in tests/test_imus.py HOT 1
- Xens data file doesn't work HOT 9
- Tkinter is a dependency, but not listed anywhere
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scikit-kinematics.