From acd8d85c1b06cdef45bf0bbf5b6c623e0ba41c0d Mon Sep 17 00:00:00 2001 From: Max Hunt Date: Thu, 13 Feb 2020 11:26:19 +0000 Subject: [PATCH] Update --- object_tf_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/object_tf_client.py b/object_tf_client.py index 4ee54c5..3aa0121 100755 --- a/object_tf_client.py +++ b/object_tf_client.py @@ -18,7 +18,7 @@ def tf_lookup(object_name): time.sleep(0.1) continue - object_angles = tf.transformations.euler_from_quaternion([rot[0] , rot[1], rot[2], rot[3]], axes='xyzs') + object_angles = tf.transformations.euler_from_quaternion([rot[3] , rot[0], rot[1], rot[2]], axes='sxyz') xangle = object_angles[0]#+radians(90)# + radians(77.878) xangle1 = object_angles[1]# - radians(90) xangle2 = object_angles[2]# - radians(22.231)