From fc9346eda3e3567923df11d17b4b2494dff94aac Mon Sep 17 00:00:00 2001 From: Max Hunt Date: Mon, 10 Feb 2020 20:32:08 +0000 Subject: [PATCH] Update --- listener.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/listener.py b/listener.py index 4fb6733..5f23b72 100644 --- a/listener.py +++ b/listener.py @@ -12,8 +12,8 @@ if __name__ == '__main__': try: (trans,rot) = listener.lookupTransform('left_gripper', 'base', rospy.Time(0)) # except (tf.LookupException, tf.ConnectivityException, tf.ExtrapolationException): - except: - continue + except: 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 ,