Registered Member
|
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? |
Moderator
|
"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]
|
Registered Member
|
Hello,
ok i accept that. But I need a way to get my "intuitive" angles and I dont know how. |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]