Page 1 of 1

How to convert rotation matrix to quaternion in PyBullet

Posted: Sat Oct 05, 2019 2:06 pm
by cttc
Hi,

I found functions to convert between quaternions and Euler angles. And there is a function to convert quaternions into rotation matrix. Is there a function to convert a rotation matrix to a quaternion?

Re: How to convert rotation matrix to quaternion in PyBullet

Posted: Thu Oct 10, 2019 4:55 am
by hyyou
You may find these links helpful. They are not Bullet-specific though.
http://www.opengl-tutorial.org/intermed ... aternions/
http://gamedev.stackexchange.com/questi ... quaternion

Re: How to convert rotation matrix to quaternion in PyBullet

Posted: Thu Oct 24, 2019 1:56 am
by Erwin Coumans
Only Euler <-> Quaternion conversions are exposed in PyBullet, not the Matrix <-> Quaternion yet.