first fixes

This commit is contained in:
2024-11-18 15:39:20 +01:00
parent e18a9c63e6
commit 4305b21329
5 changed files with 57 additions and 31 deletions

View File

@@ -35,6 +35,7 @@ class LinkedLandmarks:
time_to_next = get_time(landmark.location, self._landmarks[i + 1].location)
landmark.time_to_reach_next = time_to_next
self.total_time += time_to_next
self.total_time += landmark.duration
self._landmarks[-1].next_uuid = None
self._landmarks[-1].time_to_reach_next = 0