Add missions to the queue before localization mission is finished #1463
Labels
backend
Backend related functionality
bug
Something isn't working
improvement
Improvement to existing functionality
Describe the bug
When scheduling additional missions to the queue while there is an ongoing localization mission, the mission is not added. This is due to the fact that for the mission to be added to the queue, it has to be in the same deck as the robot is localized and since the localization mission hans't finished, the robot doesn't have a deck yet.
Suggested solution is to have a check when adding a new mission to the queue for ongoing localization missions and if the mission added is in the same deck as the ongoing localization mission, then it should be added in the queue.
To Reproduce
Add mission to the queue before the localization mission updated the robot current area.
Expected behavior
As long as the mission to be added is in the same deck as the ongoing localization mission or in the same deck as the robot current area, it should be added to the queue.
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: