Euler Angle transformation, help

Click For Summary
The discussion centers on transforming Euler angles from a camera's frame of reference to a probe's frame of reference for a research project involving 3-D visualization. The user initially faced challenges due to the constantly changing orientation of the probe, complicating the transformation process. They sought a formula for instantaneous transformation to integrate into their MATLAB code. Ultimately, the solution involved creating a program to calculate the difference in Euler angles between the two coordinate systems and applying the inverse transformation using the rotation matrix. This approach successfully yielded a unit vector in the probe's coordinate system, enabling the desired visualization.
spaderdabomb
Messages
48
Reaction score
0
I'm doing a research project currently and basically what I have is a camera measuring a probe. I have designed the camera to give the orientation of the probe using euler angles in the camera's frame of reference. This was working for most of my data, but now I need a 3-D visualization of what the camera on the tip of the probe would see. In order to do that, I now need to know the euler angles in the probe's frame of reference.

I know how to make rotation transformations using euler angles for vectors, but for some reason this problem is confusing me. I need euler angles in one frame where I have the euler angles in another frame. Suggestions on how to make this work are greatly appreciated, thanks!

EDIT: An easy way would be IF I KNEW the angles between the two coordinate systems, but unfortunately one of the coordinate systems (the probe) is constantly changing. So it is a little more complex than simply adding angles and subtracting them. All I need though I guess, is a formula that gives me the instantaneous transformation. Then I can just put that into my MATLAB code and I'll have all the data I need.

DATA AVAILABLE:

- Vector between two coordinate systems
- Orientation of probe at any instance of time (but changing in time)
- Euler angles of probe in camera's reference frame
- Rotation matrix between both coordinate systems at any given instance of time
 
Last edited:
Physics news on Phys.org
Think I figured it out. All I had to do was write a program that constantly gave the difference in the euler angles of the two coordinate systems. Then I took the original vector (pointing in the -z direction of my probe's coordinate system) and did the inverse transformation using the inverse of the rotation matrix given by the euler angles. Finally, I did took that vector and normalized it so I had a unit vector in my new coordinate system pointing in the correct direction.
 
Topic about reference frames, center of rotation, postion of origin etc Comoving ref. frame is frame that is attached to moving object, does that mean, in that frame translation and rotation of object is zero, because origin and axes(x,y,z) are fixed to object? Is it same if you place origin of frame at object center of mass or at object tail? What type of comoving frame exist? What is lab frame? If we talk about center of rotation do we always need to specified from what frame we observe?

Similar threads

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