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:
Battery level
Pressure level
Not deprecated
isarConnected
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?
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?