Implementing comsat missions

This commit is contained in:
2023-08-29 17:22:16 +02:00
parent 378c3c4d5c
commit 8fdf18f6a4
2 changed files with 92 additions and 0 deletions

View File

@@ -159,6 +159,8 @@ class ManeuverScheduler:
alarm_end = a.time + int(note['duration'])
if cls.timeslot_is_free(alarm_end, duration):
return alarm_end
except json.JSONDecodeError:
continue
raise EOFError('Excepted to find a free timeslot at the end alarm list')