From af70040eb083029e41d50ddaa6fad4ec1538b7c0 Mon Sep 17 00:00:00 2001 From: Max Hunt Date: Mon, 10 Feb 2020 20:54:54 +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 00c77d1..bf64aad 100755 --- a/object_tf_client.py +++ b/object_tf_client.py @@ -10,7 +10,7 @@ def tf_lookup(object_name): while not rospy.is_shutdown() and do_try: try: - (trans,rot) = listener.lookupTransform(object_name, 'base', rospy.Time(0)) + (trans,rot) = listener.lookupTransform('base', object_name, rospy.Time(0)) do_try = False except (tf.LookupException, tf.ConnectivityException, tf.ExtrapolationException): print('Failed to get frame data, retrying...')