Get XYZ position

Does anyone know how to get the xyz coordinates without the drone taking off?

Hi,

Can you explain why the following topic has not already answered your question ? (you seemed satisfied with the proposed solution there)

Thanks

the theme is similar and at a certain moment it helps me solve a problem but the next step to solve is different and it has to do with the xyz coordinates, not the gps

XYZ coordinates? in which referential? Can you transform the GPS coordinates in this referential?

thanks for your answer. I realized that the coordinates xyz is not what I want to print, I want to print the values ​​of pitch, roll and yaw. Thanks for your answers, I opened a new topic where I ask that.