dimanche 17 juillet 2016

Accessing item in tuple nested in dictionary python


So I'm a little confused about the dictionary this function returns. (The endpoint_pose function) It seems to be a dictionary, with nested dictionary or tuple I am not sure. What the function returns is this {'position': Point(x=0.7938064310002948, y=0.4000015952566877, z=0.28522708748065545), 'orientation': Quaternion(x=-0.18674837754140436, y=0.7484662663927322, z=-0.5955181308876427, w=0.22423524999844527)} How can I access the z coordinate position?

Aucun commentaire:

Enregistrer un commentaire