How to convert rotation matrix to quaternion in PyBullet

Official Python bindings with a focus on reinforcement learning and robotics.
Post Reply
cttc
Posts: 1
Joined: Sat Oct 05, 2019 2:03 pm

How to convert rotation matrix to quaternion in PyBullet

Post by cttc » Sat Oct 05, 2019 2:06 pm

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?

hyyou
Posts: 96
Joined: Wed Mar 16, 2016 10:11 am

Re: How to convert rotation matrix to quaternion in PyBullet

Post by hyyou » Thu Oct 10, 2019 4:55 am

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

Post Reply