Ask Your Question

how do we get yaw, roll, pitch from POSIT rotation matrix

asked 2013-04-28 14:46:09 -0500

jkoregaokar gravatar image

what is the algorithm used to calculate the yaw(z axis), roll(x axis) and pitch(y axis) from the 3*3 rotation matrix generated by cvPOSIT.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-04-29 02:17:48 -0500

Rogeeeer gravatar image

updated 2013-04-29 03:39:09 -0500

You can use the c implementation, it still works. You can also use solvePnP, which seems to replace cvPOSIT for pose estimation.

Pedro Martins in his Master's thesis explain what you want with cvPOSIT :

And here with solvePnP :

edit flag offensive delete link more


Thx, didnt know that solvePnP was the replacement :)

StevenPuttemans gravatar imageStevenPuttemans ( 2013-04-29 07:08:12 -0500 )edit

answered 2013-04-28 15:17:14 -0500

Basically the cvPOSIT is not a function provided by the openCV library as can be seen here. I am guessing you are using some kind of wrapper functionality provided by another development group. Please go to the specific wrapper or add-on library webpage.

edit flag offensive delete link more


there seems to be a wiki page for it.

jkoregaokar gravatar imagejkoregaokar ( 2013-04-28 15:56:51 -0500 )edit

I have seebn the page indeed. However, as far as I understand, willowgarage originally supported the development for OpenCV. However, OpenCV is now developped independently, maybe leading to the removal of some intellectual property. Another thing could be that the function got renamed inside the latest releases...

StevenPuttemans gravatar imageStevenPuttemans ( 2013-04-29 01:51:18 -0500 )edit

Question Tools


Asked: 2013-04-28 14:46:09 -0500

Seen: 1,884 times

Last updated: Apr 29 '13