Advanced navigation Help with Generating Point Cloud Data with Real-World Coordinates Using ZED 2i and GNSS

Hi @TanguyHardelin

Thanks for your reply.
modified_sample.py (12.8 KB)

You’re absolutely right! My goal is to generate a geo-referenced point cloud with real-world coordinates in UTM or ECEF.

Here’s my current workflow:

  • I have an SVO2 file that includes latitude, longitude, and altitude (EPSG:4326).
  • I can successfully generate a point cloud (PLY) in camera coordinates using the spatial mapping module or ZEDfu.
  • From the SVO2 file, I can extract a geo-referenced KML file, which opens correctly.
  • I have also applied the Fusion module, and it works as expected.

However, I’m still unsure how to write the transformed (geo-referenced) point cloud back to a PLY file in UTM or ECEF coordinates.

I’m attaching my Python script for review. Could you please guide me on the necessary steps to properly convert and save the geo-referenced point cloud?