From bbac05f8aa278cd8ad9ce8a181c570250103015d Mon Sep 17 00:00:00 2001 From: Max Hunt Date: Mon, 10 Feb 2020 20:30:30 +0000 Subject: [PATCH] Update --- listener.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/listener.py b/listener.py index eb91c14..4fb6733 100644 --- a/listener.py +++ b/listener.py @@ -11,7 +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): + except: continue Translation = [trans.x , trans.y , trans.z] Quaternion = [rot.x , rot.y , rot.z, rot.w]