Euler Angle transformation, help

Click For Summary
SUMMARY

The discussion focuses 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 had success with Euler angles but faced challenges due to the constantly changing orientation of the probe. The solution involved writing a MATLAB program to calculate the instantaneous transformation using the inverse of the rotation matrix derived from the Euler angles, allowing for accurate data representation in the probe's coordinate system.

PREREQUISITES
  • Understanding of Euler angles and their application in 3-D transformations
  • Familiarity with rotation matrices and their properties
  • Proficiency in MATLAB programming for data manipulation and visualization
  • Knowledge of coordinate systems and their transformations
NEXT STEPS
  • Research the mathematical foundations of Euler angle transformations
  • Learn about rotation matrices and their inverse calculations
  • Explore MATLAB functions for 3-D visualization and data representation
  • Investigate real-time data processing techniques for dynamic coordinate systems
USEFUL FOR

This discussion is beneficial for researchers, engineers, and developers working with 3-D visualization, particularly those involved in robotics, computer vision, and dynamic systems analysis.

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.
 

Similar threads

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