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

Problem for get angle in the axis x, Unity

I have an problem, the arrowObject have an axis in x of 180 but get me by code 0 startOrientation1 = arrowObject.transform.eulerAngles.x; currentAngle1 = startOrientation1; minOrientation1 = startOrientation1 - amplitudeX; …
0
votes
1 answer

Why is my Euler rotation not rotating the vector?

In a ZYX Euler rotation, my understanding is that the initial intermediate-rotation around the Z-axis rotates the basis for the subsequent rotation. It seems that Euler angles are typically measured relative to a frame fixed to the object itself,…
KMC
  • 19,548
  • 58
  • 164
  • 253
0
votes
1 answer

How to fix the jump in values while computing angular velocity with arctangent function?

Sorry in advance if this kind of question has been asked. I am creating two sets of angles phi and theta. Also I have a direction cosine matrix constructed and out of it I am calculating Euler angles roll, pitch and yaw. Later, I use those angles to…
0
votes
0 answers

OpenCV head rotation to world coordinates

I am using WHENet to estimate head pose of an individual filmed by two cameras. The model gives me roll, pitch and yaw relative to each camera. Roll, pitch and yaw equal 0 when the indidual faces exactly the camera. My camera are calibrated (both…
dcoccjcz
  • 9
  • 2
0
votes
0 answers

Make Rotation from X-Z axes

Given the unit vectors of the two axes of the object's rotated coordinate system, find the rotation matrix of the object's rotation. I have seen that many tools have implemented this function. Take Unreal as an example. The following example is the…
0
votes
0 answers

How to compute Euler angles from Quaternion form?

I am trying to use the Quaternion form instead of rotation matrices. I already trained my model, but when I need to test the model, I must compute Euler angles from the Quaternion form as this person did with computing Euler angles from rotation…
Redhwan
  • 927
  • 1
  • 9
  • 24
0
votes
2 answers

Converting Euler rotation angles from Z-up to Y-up (Max to Maya)

3Ds Max uses a right-handed coordinate system with z-up, Maya uses a right-handed coordinate system with y-up. I have an object rotation vector value in 3Ds Max in Euler angles: max_rotation = [35.0, 35.0, 35.0]. I need a Python script that converts…
0
votes
1 answer

Strange behavior in Head pose estimation algorithm when face is moved away from center of image

I am trying to perform head pose estimation (determine the yaw, pitch, and roll of a face image). I first do face and landmark detection to obtain the 2D face landmark coordinates. Using these coordinates, along with 3D reference face landmark…
cyrusbehr
  • 1,100
  • 1
  • 12
  • 32
0
votes
0 answers

Converting Euler angles of object from room's to camera's coordinate system

I have an object somewhere on the floor of a room and a static camera on the ceiling pointing down directly towards the floor. I know the 3D coordinates of the object and camera, as well as the Euler angles describing the object's…
0
votes
0 answers

How to get plane movement from DCS World to a 2DOF Full Motion Flight Simulator?

I'm building a DIY 2DOF Flight Simulator with full motion 360° pitch and roll movements like this one https://www.techeblog.com/full-motion-flight-simulator-vr/. It's very simple to get the bank and pitch angles from DCS World by a LUA Script, but…
0
votes
0 answers

Rotate 3D model with euler angle

I'm working with sensor to simulator the Android device moving through 3D model. Currently, I calculate the euler angle (yaw, pitch, roll) and after that, use them to rotate model. Everything works fine but when I tilt the device to vertically, the…
0
votes
0 answers

Rotation along curve in blender geo node (geometry node)

I was creating a geo node for simple airplane to move along the curve and rotate along its +-y axis when the curve rotates in the 3d scene and set back to 0 when the curve line is straight . Airplane axis. +Y front (green) +z top (blue) I managed…
0
votes
1 answer

eulerAngles and If statements

I'm working on a 2D BMX game with flips and spins and I'd like to make it so if the bike lands at the wrong angle it'll crash and restart at the checkpoint. For testing purposes I've tried to make it so the character will restart at the nearest…
Paul
  • 7
  • 1
0
votes
0 answers

Jagged graph when plotting euler angle changes

sorry in advance if this question is already covered. I am creating arrays of angles phi and theta according to which I describe three parametric equations for a moving point x, y and z. Then I created a direction cosine matrix on paper and…
0
votes
0 answers

From rotation matrix to yaw angle and vice-versa: +/- 180deg offset?

I have a general 3D rotation matrix like this: |R11 R12 R13| |R21 R22 R23| |R31 R32 R33| From this rotation matrix, I know I can get the yaw Tait-Bryan Euler angle with this: yaw = atan2(R21, R11) In my system I have: R21 = Asin(r) + Bcos(r) R11 =…
Gilles jr Bisson
  • 449
  • 4
  • 11