Skip to content

Commit

Permalink
decided not to do orientation setting in waypoint init: the orientati…
Browse files Browse the repository at this point in the history
…on_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
  • Loading branch information
GliderGeek committed Aug 25, 2023
1 parent d47e79a commit 4d92c79
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions opensoar/task/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 4d92c79

Please sign in to comment.