From e1f60f76d6f25c0ab22ed0734ca958926b26bc73 Mon Sep 17 00:00:00 2001 From: Max Hunt Date: Sun, 9 Feb 2020 14:16:41 +0000 Subject: [PATCH] Update --- listener.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/listener.py b/listener.py index 260de75..7a52d3e 100644 --- a/listener.py +++ b/listener.py @@ -9,7 +9,7 @@ if __name__ == '__main__': rate = rospy.Rate(10.0) while not rospy.is_shutdown(): - (trans,rot) = listener.lookupTransform('left_gripper', 'base', rospy.Time(0)) + (trans,rot) = listener.lookupTransform('left_gripper', '/base', rospy.Time(0)) 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 ,