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 38 forks source link

Ongoing mission in flotilla while isar is idle #1477

Closed Eddasol closed 7 months ago

Eddasol commented 8 months ago

Describe the bug Sometimes missions get stuck in ongoing/paused in flotilla while robot status is available. The missions cannot be cancelled and will never complete as isar is idle and not running any mission.

Suspected cause of this happening is:

In both these cases isar will be idle while flotilla has ongoing/paused mission.

Suggested solution is to update mission status in flotilla to completed if isar status changes to idle. The tasks where the status is unknown/not updated should either be set to failed or not started.

To Reproduce Restart isar during mission to reproduce the case where flotilla has a mission that isar doesn't have.

Expected behavior If isar isn't running a mission then the corresponding robot shouldn't have any ongoing missions in flotilla.

Screenshots Ongoing mission in flotilla that cannot be started or stopped. Robot is available image