I’m attempting to save the mission plan programmatically using the following code:
chunk.camera_track.save(r'C:temp\mission_plan.kmz',
file_format='wpml',
drone_name='M3E',
payload_name='M3E',
max_waypoints=5000)
However, I encounter the following error: Error: Can't find corresponding WPML config
When I manually export the mission plan using the Export Camera Track option in the GUI, it works perfectly fine.
What could be causing this error? I’m using Metashape Professional, version 2.1.1.
Thanks