Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Use quaternion_from_matrix method from transformations.py in tf package

Use quaternion_from_matrix method from transformations.py in tf package

from tf.transformations import quaternion_from_matrix

q = quaternion_from_matrix(tr_matrix)