equinor / flotilla

Flotilla is the main point of access for operators to interact with multiple robots in a facility.
Eclipse Public License 2.0
16 stars 35 forks source link

Make general "shouldScheduleMission" function #1491

Closed Eddasol closed 3 months ago

Eddasol commented 6 months ago

Describe the improvement you would like to see Currently missions get scheduled in several different endpoint. There should be a general shouldScheduleMission function that check prerequisites for scheduling a mission, that should be used in all these endpoint.

Prerequisites like:

Localization check would also be good but as the method varies this probably has to stay outside of this function

How will this change existing functionality? Ensures that the different scheduling endpoints do the same prerequisite checks and makes it easier to update prerequisites.

How will this improvement affect the current Threat Model?