Ask Your Question

cv::Rodrigues problem

asked 2013-03-14 13:07:40 -0600

tenta4 gravatar image

updated 2013-03-14 15:36:59 -0600

I have two rotation matrices

R1 and R2 correspond the Euler angles: (90, 0 , 0) and (0, 0, 90)

as a result, I expect to get a turn like this 90, 0 , 90

But cv::Rodrigues returns this angles for R3: (69, 69, 69).

What I'm doing wrong

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-03-14 14:51:16 -0600

Just a google gave me that cv::Rodrigues does actually not at all what you want:

You just want to combine two rotation matrices, thats something different right? Rodrigues outputs a vector, not a matrix...

edit flag offensive delete link more


In three-dimensional space, every rotation can be interpreted as a rotation by a given angle about a single fixed axis of rotation (see Eules Angles), and hence it can be simply described by an angle and a vector with three entries. However, it can also be represented by the nine entries of a rotation matrix with three rows and three columns. (WIKIPEDIA)

Rodrigues converts the Rotation Matrix to Eules Angles as i understand

tenta4 gravatar imagetenta4 ( 2013-03-14 15:43:29 -0600 )edit

answered 2013-07-19 06:47:29 -0600

tenta4 gravatar image

In documentation Rodrigues Converts a rotation matrix to a rotation vector or (!!!)vice versa.

edit flag offensive delete link more



The ansver is simple: Rotation vector - is not an Euler Angles.

tenta4 gravatar imagetenta4 ( 2013-07-31 08:49:29 -0600 )edit

Question Tools


Asked: 2013-03-14 13:07:40 -0600

Seen: 7,225 times

Last updated: Jul 19 '13