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)