DnD icon indicating copy to clipboard operation
DnD copied to clipboard

Converting euler to rotation matrices

Open areiner222 opened this issue 1 year ago • 0 comments

Hi,

Thanks for your great work!

I noticed in the smpl dynamics tooling (dnd.models.smpl.lbs.euler_to_rot_mat3) it seems like you convert from euler angles to rotation matrices around x, y and z axes but then you rotate the joint unit axes with a ZYZ rotation. Please correct me if I'm wrong, but if you convert the euler angles to xyz rotations then shouldn't we need to do a XYZ rotation for the axes?

I was investigating the ZYZ rotation, and I see that the resulting rotated "axes" do not preserve orthogonality in the column vectors. Is this expected? Am I missing something?

Thanks, Alex

areiner222 avatar Dec 04 '22 01:12 areiner222