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

Smooth transition between the euler angles solved from a rotation matrix

I have a 3*3 rotation matrix R. Now, it is possible to solve this rotation matrix to get the euler angles of the rotation matrix.…
Ananth Saran
  • 207
  • 2
  • 17
0
votes
0 answers

Converting orientation and speed to position

I have a body located at (x,y,z) at time t0. I know the body is moving at a constant speed, s. The body's orientation is (h,p,r) (heading pitch and roll). I would like to calculate the location of the body after t seconds as a function of…
Benjy Kessler
  • 7,356
  • 6
  • 41
  • 69
0
votes
1 answer

Which euler angle order does this code result in?

Using the mathematics library GLM, I use this code to combine the euler angle rotations to a rotation matrix. #include using namespace glm; mat4 matrix = rotate(mat4(1), X, vec3(1, 0, 0)) * rotate(mat4(1),…
danijar
  • 32,406
  • 45
  • 166
  • 297
0
votes
2 answers

Panda3D: How to rotate object so that its X-axis points to a location in space?

I have an object (say fromObj) stored in NodePath at a 3D point location (say fromPoint). Its heading-pitch-roll (HPR) is (0,0,0). I want to rotate it such that its X-axis points to another point toPoint in space. I just want to compute the HPR that…
Ashwin Nanjappa
  • 76,204
  • 83
  • 211
  • 292
0
votes
1 answer

How to get angle rotated of a 3D object from its transform martrix

I have a 3d object which is free to rotate along x,y and z axis and it is then saved as a transform matrix. In a case where the sequence of rotation is not known and the object is rotated for more than 3 times (eg :-if i rotate the object…
Vinod Paul
  • 359
  • 2
  • 14
0
votes
0 answers

Calculate spin between two Euler-angles along it's local Y-axes

Let's say we have two rotated objects, there Euler-Angles are: Object | x | y | z 1 | 180 | 360 | 180 2 | -360 | -720 | 360 Both use rotate order XYZ. When rotation is zero the local Y-axis is pointing up. I'm trying to get…
Roy Nieterau
  • 1,226
  • 2
  • 15
  • 26
0
votes
1 answer

Euler Angles from analog sensor data 9dof

I'm looking to compute euler angles based on analog sensor data in javascript. The sensor data includes gyro, accelerometer, and magnetometer data in 3d. The math is a little over my head, and looking for any help or tips. Thanks!
kelly
  • 233
  • 1
  • 4
  • 6
-1
votes
1 answer

I have a problem getting the direct value of rotation

I'm trying to make a simple flight simulator, and I tried to get the a pitch value(x of the rotation) of the plane. I thought it will work if I get the x value of the rotation by transform.rotation.eulerAngles.x and I tried other code that changes…
-1
votes
1 answer

How to set the speed of a randomly rotating object? Unity

I have a platform that must rotate simultaneously in x, y & z directions in a random order, the maximum degree measure of rotation of vectors x & z is 10 degrees, and rotation in the "y" direction is 360 degrees. Here is the code: using…
-1
votes
1 answer

How to plot a heatmap of coordinates on a mollweide projection

I have a set of lattitude and longitude coordinates (i.e. a list of lists: [[20,24],[100,-3],...]) that I would like to plot has a heatmap (not just a scatter) on a mollweide projection. Essentially, what I want is a seaborn hist2d plot but as a…
chubs
  • 11
  • 4
-1
votes
1 answer

Rotating an object to face a certain point, but only on one axis

I have objects that I want to rotate towards a collision point, but only on the Y-axis. Here's what I mean: The arrows show which direction the balls hit the pins. First The object rotates on it's Y-axis to face the collision point. Second I…
-1
votes
1 answer

How to get rotation(Euler angle) between two 3D vectors? (to make bvh format)

I'm converting a 3d coordinate sequence into a bvh file. I made the HIERARCHY using the first frame(not T-pose), and I want to use the rest of the frames to make the MOTION part. I don't know the exact meaning of the euler angle used in the bvh…
-1
votes
2 answers

Understanding quaternions in Unity

Having some difficulty in understanding how to use rotation (represented as a quaternion) in Unity. What I want to do is note the rotation of an object at some time, then find out its new rotation shortly later, and turn that into how many degrees…
nmw01223
  • 1,611
  • 3
  • 23
  • 40
-1
votes
1 answer

Reliable measure of orientation change in a 3D shape

I have been measuring the change in orientation of a 3D shape (a 3-space sensor) with different starting positions for a controlled end position. I am using Euler angles, (P)itch, (R)oll and (Y)aw. My measure of orientation change Is: Orientation…
Ant
  • 69
  • 1
  • 11
-1
votes
1 answer

In GCP face detection, where should we assume to be the axis to measure the roll angle?

I need to rotate images of faces. I want to understand the output of GCP face detection. For the roll angle, where is the axis supposed to be? at the mouth center? at the nose? at the bottom left of the image file? The definition of roll angle is…
1 2 3
31
32