From 4d92c7933153dc739c7e5e4171e09303d81f2f45 Mon Sep 17 00:00:00 2001 From: glidergeek Date: Fri, 25 Aug 2023 16:24:27 +0200 Subject: [PATCH] decided not to do orientation setting in waypoint init: the orientation_angle is dependent on previous or next waypoints in the list. the task is a good way to group them and make sure the order is not changed --- opensoar/task/task.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/opensoar/task/task.py b/opensoar/task/task.py index f3f8ffe..78f8ff1 100644 --- a/opensoar/task/task.py +++ b/opensoar/task/task.py @@ -30,8 +30,6 @@ def __init__(self, waypoints: List[Waypoint], timezone: int, start_opening: date self.start_time_buffer = start_time_buffer self.multistart = multistart - # TODO: wouldn't this be better set in waypoint initialization? - # reason could be line cross logic depending on "next" and "previous" self.set_orientation_angles(self.waypoints) def __eq__(self, other):