Registered Member
|
Hi,
Suppose that I have a 3-dimensional frame with rotation roll = 0, pitch = 0 and yaw = 0 about x, y and z axis respectively. I want the frame to rotate about x-axis for 3.14159 (Pi) or roll = Pi. Below is the code for said situation. The problem is, when I want to convert the matrix rotation back to roll, pitch, and yaw, the code gives different answer. Instead of roll = Pi, the result is roll = 0, pitch = pi, and yaw = pi. I think RVC toolbox by Peter Corke on Matlab gives correct answer. Maybe something is not right with with my program or eulerAngles in Eigen works differently? Please help. Code:
Output:
|
Registered Member
|
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot]