This forum has been archived. All content is frozen. Please use KDE Discuss instead.

"intuitive" euler angles

Tags: None
(comma "," separated)
bennih
Registered Member
Posts
21
Karma
0
OS

"intuitive" euler angles

Tue Oct 29, 2013 1:24 pm
Hello,

I have a rotation matrix R.

std::cout << R.eulerAngles(2,1,0);

gets me often vaules like that: 135°, 180°, 180°.
-45°, 0°, 0° would be more intuitive in this case.

Is it possible to get the shortest path always?
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: "intuitive" euler angles

Tue Oct 29, 2013 2:20 pm
"intuitive" depends on the application. We choose to stick with the following convention that is to return angle in the ranges: [0:pi]x[0:pi]x[-pi:pi]
bennih
Registered Member
Posts
21
Karma
0
OS

Re: "intuitive" euler angles

Tue Dec 17, 2013 11:14 pm
Hello,

ok i accept that.
But I need a way to get my "intuitive" angles and I dont know how.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]