- #1
IMK
- 63
- 0
Hello,
I have some accelerometer vector data A (3d vectors x,y,z ) than I have normalized so I guess they are unit vectors. Now what I what to do is to 3d rotate them by another set of normalized accelerometer vector data B so I get a third set of vectors D.
I have tried a simple vector subtraction but this does not seem to work, so can you tell me please what math method I should be using for the please?
Is it Euler angles, Cartesian etc etc.
A method of how to do it would be wonderful, and I know this is not a programming forum but if anyone knows of some c/c++ source for this is would be great.
Many thanks IMK
I have some accelerometer vector data A (3d vectors x,y,z ) than I have normalized so I guess they are unit vectors. Now what I what to do is to 3d rotate them by another set of normalized accelerometer vector data B so I get a third set of vectors D.
I have tried a simple vector subtraction but this does not seem to work, so can you tell me please what math method I should be using for the please?
Is it Euler angles, Cartesian etc etc.
A method of how to do it would be wonderful, and I know this is not a programming forum but if anyone knows of some c/c++ source for this is would be great.
Many thanks IMK