Modifying a transformation based on yaw-pitch-roll or phi-theta-psi

  • Thread starter Thread starter amrbekhit
  • Start date Start date
  • Tags Tags
    Transformation
Click For Summary
SUMMARY

This discussion focuses on applying transformations in a 3D simulation using MSC Adams, specifically for a triangular platform that rotates and translates. The user seeks to constrain the orientation of a special marker (TOP_ORIGIN) to align with the platform's orientation relative to the global axis system. The conversation highlights the differences between yaw-pitch-roll and phi-theta-psi transformations, with an emphasis on the correct application of these rotation sequences for achieving the desired orientation of the marker.

PREREQUISITES
  • Understanding of 3D transformations, specifically yaw-pitch-roll and phi-theta-psi
  • Familiarity with MSC Adams simulation software
  • Knowledge of coordinate systems and their applications in 3D modeling
  • Basic mathematical skills for calculating angles and centroids
NEXT STEPS
  • Research the mathematical foundations of yaw-pitch-roll and phi-theta-psi transformations
  • Explore MSC Adams documentation on object orientation and transformations
  • Learn about centroid calculations in 3D geometry
  • Investigate common pitfalls in 3D rotation sequences and how to avoid them
USEFUL FOR

This discussion is beneficial for 3D simulation developers, mechanical engineers using MSC Adams, and anyone involved in modeling complex rotational systems in virtual environments.

amrbekhit
Messages
11
Reaction score
1
[I've tried asking this question on math.stackexchange.com, but haven't got any responses, so I thought I'd try here]


I’m building a model in a 3D simulation program (MSC Adams) and part of that model is a triangular platform which can translate and rotate in the virtual world, as shown in the 2 images below:

Frame1.png


Frame2.png


There are some markers on this platform that, when it is at its home orientation, are aligned with the global axis system (which is the orientation of markers A, B and C in the first image). These markers move and orient with the platform so that they represent the platform’s orientation with respect to the global axis system.

Now, I have a special marker (TOP_ORIGIN) that is coded so that it is always at the centroid of the corners of the triangle that form the platform (average of the coordinates A, B and C). What I’m trying to do is to also constrain the orientation of the marker as follows:

  • The X-Y plane is the same as the platform’s plane with the Z axis putting “up” away from the model.
  • The angle between the X axis and the vector XA is set to an angle, theta, which I calculate elsewhere.
  • The software gives me two ways of getting and setting the orientation of objects: yaw-pitch-roll (rotation about Z then rotation about the new Y, then rotation about the new X) and phi-theta-psi (rotation about Z then rotation about the new X, then rotation about the new Z).

How can I apply these transformations to get the marker to the orientation I want?
 
Physics news on Phys.org
The yaw-pitch-roll transformation looks fairly standard but your description of the phi-theta-psi transformation doesn't look right. Two Z rotations is unusual, and not what I would expect from "phi-theta-psi." (P.S. I can't see what axes you are talking about because the pictures are very cluttered.)
 
I am not sure what you are asking, amrbekhit. Do you want to convert between yaw-pitch-roll and phi-theta-psi? Can you clarify your question?
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
14K
  • · Replies 6 ·
Replies
6
Views
11K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K