Questions tagged [euler-angles]

The Euler angles are three angles introduced by Leonhard Euler to describe the 3D orientation of a rigid body.

The idea of Euler angles is to split the complete rotation of a cartesian coordinate system into three simpler rotations about the axes of this system. Euler angles also represent three composed rotations that move a reference frame to a given referred frame. This is equivalent to saying that any orientation can be achieved by composing three elemental rotations (rotations around a single axis), and also equivalent to saying that any rotation matrix can be decomposed as a product of three elemental rotation matrices.

475 questions
0
votes
1 answer

How to change handedness of coordinates?

How to convert from Euler's coordinates E1 = (x1, y1, z1, yaw1, pitch1, roll1) to E2 = (x2, y2, z2, yaw2, pitch2, roll2) where x, y, z are the coordinates of a point and yaw, pitch, roll the direction/orientation of a vector which origin is…
742
  • 3,009
  • 3
  • 23
  • 18
0
votes
1 answer

Convert a point and Euler angles to 3 points in 3D space

I have a 3D point and 3 Euler angles representing a camera pose, like (X Y Z A B C), where (X, Y, Z) is the 3D position of the camera and (A, B, C) are the Euler angles (in degrees) that represent the camera orientation. I would like to get 3…
Daniel
  • 406
  • 1
  • 4
  • 14
0
votes
0 answers

how can we rotate an object 360 degree using Quaternion.euler in unity?

I am working in Unity to develop a tan-gram game. I want to rotate an object 360 degrees, but it's not working. I want to rotate my object through web cam. Means when I rotate a real world object, I want game object to rotate as the real world…
0
votes
2 answers

How to check if quaternion is rotated past defined degrees from level

I have a quaternion, q, and I need to determine if it is rotated beyond a certain number of degrees past level in both the X/Y axes. Any easy shortcut would obviously be to convert the quat to x/y/z Euler angles and then compare x/x values to the…
chris12892
  • 1,634
  • 2
  • 18
  • 36
0
votes
1 answer

How to identify bottom side of cube from Euler Angles (or Quaternions) - three.js

SO! I was wondering if you could help me to solve one problem: I've got a cube, which can be rotated in three axis. I can get information about cube's rotation which is an array of three angles from 0 to 2PI. The question is: how can I identify,…
Lisunov Ilia
  • 141
  • 1
  • 4
0
votes
0 answers

3d L-System Fractal Code, having Trigonometry error

I am rewriting a tree fractal code to draw L-Systems with only 1 long line for 3d spirographs, 3d architecture etc. I have rotation errors: 90° angle Sin/Cos makes some angles with 45° and 135° instead of 90° Why? //A recursive function used to…
bandybabboon
  • 2,210
  • 1
  • 23
  • 33
0
votes
1 answer

How to build an Euler compass?

I want to build something similar to the Euler's compass and I need a bit of guidance. Using the Accelerometer and Magnetic sensors I managed to compute the yaw, pitch and roll angles(radians). Now, what should be the next step? I searched over the…
Ispas Claudiu
  • 1,890
  • 2
  • 28
  • 54
0
votes
1 answer

How to calculate camera orientation using one point in large distance (using opencv)?

Let's say I have a pinhole camera with known intristic values like camera matrix and distortion coefficients. Let's say there is a point in large enough distance from the camera, so we can say it is placed in infinity. Given image coordinates of…
0
votes
0 answers

Stick Figure Animation Using Line Animation in Matlab

I am trying to animate a motion file using the Matlab drawnow function and line plotting. The motion file has both 3x3 euler angles (yaw-pitch-roll) and XYZ coordinate values and I plan on using line plotting to create a stick figure animation where…
Muhaned g
  • 17
  • 8
0
votes
1 answer

Rotate 3d euler angles to a coordinate system based on Quaternion orientation C++

I have a coordinate system of XYZ, where I rotate by euler angles, starting with X, then Y, then Z. I need to convert this rotation, to it's equivalent X Y Z rotations, but relative to another coordinate system, as specified by a quaternion…
Mary Ellen Bench
  • 589
  • 1
  • 8
  • 28
0
votes
1 answer

Three.js - Set rotation of object from normalized directions of the X, Y and Z-Axis

From a model file object definition the placement a new object is given by a location (a point in space) and the normalized directions of the X-Axis, the Y-Axis and the Z-Axis. How can i translate this to a THREE.Euler so i can rotate my object…
Wilt
  • 41,477
  • 12
  • 152
  • 203
0
votes
1 answer

Detect Camera Angle for AR

I am using Wikitude currently for my AR Project. I have a Video Drawable above my picture target and I want to the video to adjust based on the angle of the camera from the target. I have tried the heading,roll,and tilt functions. They work fine, I…
Jeongbebs
  • 4,100
  • 7
  • 34
  • 60
0
votes
1 answer

Convert 3 euler angles to one value

I would like to ask if anyone knows how to convert/combine x,y,z euler angles into ONE value? Is there any function for this? I've searched but I found the conversion into matrices or quaternions, but these output more than one value (i.e. rotations…
0
votes
1 answer

Rotating other two euler angles using difference between two

I am trying to a camera that moves using a spline. Camera position works nice however I want my camera eye to the turn itself while moving. For example camera moves from x0 y0 z0 to x1 y1 z1. Now my eye vector is normal(x1-x0, y1-y0, z1-z0). How do…
user1097048
0
votes
2 answers

How To Find The "Twist" Angle From Euler Angles

EDIT: I think it need to further clarify what I'm trying to do: I have a forearm rig setup in Maya using a wire deformer to control the twist. The wire deformer is on top of a skinCluster. The wrist joint has an extra angle attribute called "twist"…
user2715943
  • 1
  • 1
  • 2