diff --git a/object_tf_client.py b/object_tf_client.py index 13e1bcc..ec3da8a 100755 --- a/object_tf_client.py +++ b/object_tf_client.py @@ -21,7 +21,7 @@ def tf_lookup(object_name): print('@@@@@@@@@@@@@@@@') print(rot) print('@@@@@@@@@@@@@@@@') - object_angles = tf.transformations.matrix_from_quaternion([rot[0] , rot[1], rot[2], rot[3]]) + object_angles = tf.transformations.quaternion_matrix([rot[0] , rot[1], rot[2], rot[3]]) print('@@@@@@@@@@@@@@@@') print(object_angles) print('@@@@@@@@@@@@@@@@')