Describe the bug
If we click the stop button when the first mission in the queue is running, the current area will be set to null because the localization mission was not successful. As a consequence the returm to home mission or the following missions won't start.
To Reproduce
Schedule a mission and stop it.
Expected behavior
The current area should be set when the start (localization) step of the first mission is successful, not when the hole mission is successful.
It is suggested to check that the status of the first task in the mission becomes ongoing - this means the start step was successful and we can now update the current area.
Describe the bug If we click the stop button when the first mission in the queue is running, the current area will be set to null because the localization mission was not successful. As a consequence the returm to home mission or the following missions won't start.
To Reproduce Schedule a mission and stop it.
Expected behavior The current area should be set when the start (localization) step of the first mission is successful, not when the hole mission is successful.
It is suggested to check that the status of the first task in the mission becomes ongoing - this means the start step was successful and we can now update the current area.