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

Stopping first mission scheduled will set the current area to null #1655

Closed mrica-equinor closed 2 months ago

mrica-equinor commented 3 months ago

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.