From 808d6ca346581d3dd919b207c7bc84cfa87371a7 Mon Sep 17 00:00:00 2001 From: Max Hunt Date: Mon, 10 Feb 2020 20:29:53 +0000 Subject: [PATCH] Update --- listener.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/listener.py b/listener.py index 8ec3e1f..eb91c14 100644 --- a/listener.py +++ b/listener.py @@ -11,9 +11,8 @@ if __name__ == '__main__': while not rospy.is_shutdown(): try: (trans,rot) = listener.lookupTransform('left_gripper', 'base', rospy.Time(0)) - except(tf.LookupException, tf.ConnectivityException, tf.ExtrapolationException): + except (tf.LookupException, tf.ConnectivityException, tf.ExtrapolationException): continue - Translation = [trans.x , trans.y , trans.z] Quaternion = [rot.x , rot.y , rot.z, rot.w] Angles = tf.transformations.euler_from_quaternion([rot.x , rot.y ,