This commit is contained in:
Max Hunt 2020-02-10 20:29:53 +00:00
parent c27049c496
commit 808d6ca346

View File

@ -13,7 +13,6 @@ if __name__ == '__main__':
(trans,rot) = listener.lookupTransform('left_gripper', 'base', rospy.Time(0)) (trans,rot) = listener.lookupTransform('left_gripper', 'base', rospy.Time(0))
except (tf.LookupException, tf.ConnectivityException, tf.ExtrapolationException): except (tf.LookupException, tf.ConnectivityException, tf.ExtrapolationException):
continue continue
Translation = [trans.x , trans.y , trans.z] Translation = [trans.x , trans.y , trans.z]
Quaternion = [rot.x , rot.y , rot.z, rot.w] Quaternion = [rot.x , rot.y , rot.z, rot.w]
Angles = tf.transformations.euler_from_quaternion([rot.x , rot.y , Angles = tf.transformations.euler_from_quaternion([rot.x , rot.y ,