Update
This commit is contained in:
parent
bbac05f8aa
commit
fc9346eda3
@ -12,8 +12,8 @@ if __name__ == '__main__':
|
||||
try:
|
||||
(trans,rot) = listener.lookupTransform('left_gripper', 'base', rospy.Time(0))
|
||||
# except (tf.LookupException, tf.ConnectivityException, tf.ExtrapolationException):
|
||||
except:
|
||||
continue
|
||||
except: continue
|
||||
|
||||
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 ,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user