This commit is contained in:
Max Hunt 2020-02-09 14:16:41 +00:00
parent e0ea690540
commit e1f60f76d6

View File

@ -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 ,