Agisoft Metashape

Agisoft Metashape => Python and Java API => Topic started by: Tom2L on July 12, 2022, 10:30:52 AM

Title: runTimeError: buildRoundTrip : traversal point not reachable
Post by: Tom2L on July 12, 2022, 10:30:52 AM
Hi, i was trying to generate a mission path trough the python API :
Code: [Select]
        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 :
Code: [Select]
runTimeError: buildRoundTrip : traversal point not reachableAny idea what could cause it ?
Thanks in advance
Title: Re: runTimeError: buildRoundTrip : traversal point not reachable
Post by: Alexey Pasumansky on July 12, 2022, 05:45:26 PM
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?
Title: Re: runTimeError: buildRoundTrip : traversal point not reachable
Post by: Tom2L on July 12, 2022, 05:49:18 PM
I will. Thanks a lot, as always