ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Angles for quaternion converter

asked 2011-11-02 05:16:20 -0600

alfa_80 gravatar image

updated 2014-01-28 17:10:41 -0600

ngrennan gravatar image

I was referring to an API documentation on Quarternion related stuff. I want to use the last constructor which is written "Constructor from Euler angles". The constructor itself is as below:

btQuaternion::btQuaternion ( const btScalar & yaw,
                             const btScalar & pitch,
                             const btScalar & roll   

My question is regarding the angles. Should the angles in the input argument be in degree or radian?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2011-11-02 05:20:21 -0600

Always radians, degree are never used.

edit flag offensive delete link more

answered 2011-11-02 05:21:08 -0600

tfoote gravatar image

Radians. They are the standard, see REP 103

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-11-02 05:16:20 -0600

Seen: 1,154 times

Last updated: Nov 02 '11