Agisoft Metashape
Agisoft Metashape => Python and Java API => Topic started by: Tom2L on July 12, 2022, 10:30:52 AM
-
Hi, i was trying to generate a mission path trough the python API :
plan_mission_task = Metashape.Tasks.PlanMission()
# mission parameters
plan_mission_task.sensor = 0 # choose the camera that was used for input photos (DJI for x2 test)
plan_mission_task.min_altitude = 5
plan_mission_task.capture_distance = 30
plan_mission_task.horizontal_zigzags = True
plan_mission_task.min_waypoint_spacing = 1
plan_mission_task.overlap = overlap
plan_mission_task.attach_viewpoints = True
plan_mission_task.safety_distance = 10
home = ref_model.shapes[0]
plan_mission_task.home_point = home.key
But i got :
runTimeError: buildRoundTrip : traversal point not reachable
Any idea what could cause it ?
Thanks in advance
-
Hello Tom,
Is it possible to send the project with the source mesh model that you are using to support@agisoft.com and also to specify Metashape version that you are using?
-
I will. Thanks a lot, as always