Calculating Euler Angles from Two Frames of Reference

Click For Summary
SUMMARY

This discussion focuses on calculating Euler angles from two frames of reference defined by sets of three vectors. The process involves three rotations: first, rotating about the z-axis to align the z' axis with the x-z plane (angle φ); second, rotating about the y' axis to align z' with z (angle θ); and third, rotating about the z-axis to align x' and y' with x and y (angle ψ). The transformation matrix derived from the first frame's matrix and the inverse of the second frame's matrix is essential for determining the Euler rotation matrix. The method has been confirmed to work in two dimensions, and clarification on its application in three dimensions is sought.

PREREQUISITES
  • Understanding of Euler angles and their conventions
  • Familiarity with rotation matrices
  • Knowledge of vector mathematics
  • Experience with matrix transformations
NEXT STEPS
  • Study the derivation of Euler rotation matrices
  • Learn about different conventions for Euler angles
  • Explore the application of rotation matrices in 3D transformations
  • Investigate the implications of frame transformations in molecular dynamics
USEFUL FOR

Researchers in computational chemistry, physicists studying molecular orientations, and software developers working with 3D graphics or simulations involving rotations.

muonnoum
Messages
3
Reaction score
0
Fairly straight forward question. If you have a set of three vectors specifying a frame of reference and a second set of 3 vectors stating another frame of reference. How do you get the Euler angles associated with that rotation?

More generally I am considering the relative orientation of one water molecule with another and require the Euler angles associated.

Thanks in advance.
 
Physics news on Phys.org
1) Rotate about z axis until z' axis is in the x-z plane. This is the first angle φ.
2) Rotate about y' axis until z' coincides with z. This is the second angle θ.
3) Rotate about z axis until x' and y' coincide with x and y. This is the third angle ψ.

There's more than one set of conventions in use, so these may or may not be exactly the ones you want.
 
I'm not quite sure what you mean but I think I have worked out what I need to do.

I think I need to calculate the transform matrix from the matrix of frame 1 and the inverse matrix of frame 2. This matrix corresponds to the Euler rotation matrix and so I simply have to equate the matrix elements and solve them simultaneously with the constraints imposed by the Euler angle conventions. I confirmed that this works in 2 dimensions but if you could confirm that there are no complications in going to 3 dimensions I would appreciate it.

Many thanks
 

Similar threads

  • · Replies 18 ·
Replies
18
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
6K