Update
This commit is contained in:
parent
808d6ca346
commit
bbac05f8aa
@ -11,7 +11,8 @@ if __name__ == '__main__':
|
|||||||
while not rospy.is_shutdown():
|
while not rospy.is_shutdown():
|
||||||
try:
|
try:
|
||||||
(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):
|
||||||
|
except:
|
||||||
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]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user