From f1a35f6b9fd2f64f88ffec98cff1844cfe32830a Mon Sep 17 00:00:00 2001 From: CY <70040710+CY-1992@users.noreply.github.com> Date: Sat, 4 Dec 2021 13:24:31 +0100 Subject: [PATCH] Update mission example after Mission item API changed New Mission item requires an additional argument camera_photo_distance_m --- examples/mission.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/mission.py b/examples/mission.py index 8bb37800..2c0570ef 100755 --- a/examples/mission.py +++ b/examples/mission.py @@ -35,6 +35,7 @@ async def run(): float('nan'), float('nan'), float('nan'), + float('nan'), float('nan'))) mission_items.append(MissionItem(47.398036222362471, 8.5450146439425509, @@ -47,6 +48,7 @@ async def run(): float('nan'), float('nan'), float('nan'), + float('nan'), float('nan'))) mission_items.append(MissionItem(47.397825620791885, 8.5450092830163271, @@ -59,6 +61,7 @@ async def run(): float('nan'), float('nan'), float('nan'), + float('nan'), float('nan'))) mission_plan = MissionPlan(mission_items)