ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

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
3

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

Always radians, degree are never used.

edit flag offensive delete link more
4

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

Question Tools

Stats

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

Seen: 1,299 times

Last updated: Nov 02 '11