How to transform Euler Angles from a local joint to its parent?
Show older comments
I have a motion capture system of the hand that gives me coordinates (x,y,z) and euler angles (xyz). Each joint of the finger is locally based upon the one before. For example the first knuckle is based on the base of the finger (and so on). I am trying to find the angle of each finger joint but I first need to transform the coordinates I have been given from locally based to global. I know the euler angles are important in doing this but I am not sure how to accomplish this. Do I need a rotation matrix or a transformation matrix? This is what I have tried but it gives me the wrong answer unfortunately. Any help is much appreciated!
eul1 = [deg2rad(-0.0126580) deg2rad(0.572242) deg2rad(-0.074901)];
rotm1 = eul2rotm(eul1, 'XYZ');
vector2 = [52.975353 -0.000015 0.000008];
vector3 = transpose(vector2);
indexknuckle1 = rotm1*vector3;
1 Comment
Julia Williams
on 12 Jul 2019
Answers (0)
Categories
Find more on Multibody Dynamics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!