equinor / isar

Integration and Supervisory control of Autonomous Robots
Eclipse Public License 2.0
19 stars 34 forks source link

Publish isar status over mqtt #341

Closed oysand closed 1 year ago

oysand commented 2 years ago

Describe the new feature you would like to see ISAR should periodically update its status over mqtt.

Describe the solution you'd like If you have an idea of how to implement the feature please describe it here.

How will this feature affect the current Threat Model? N/A

aeshub commented 2 years ago

This issue is very related to https://github.com/equinor/flotilla/issues/426 and requires implementation both in ISAR and Flotilla.

Christdej commented 2 years ago

Could it be an idea to publish the whole mission each time something changes, and rather update the status of completed tasks and steps? Fixes problem where if we miss one update from ISAR, the status in flotilla does not match status in ISAR.

EinarUeland commented 2 years ago

@oysand: We already have mission_status (which I assume serve a different purpose)

Could you specify what status that you want ISAR to publish over MQTT? Robot online & No connection to robot? or a more detailed status?

aeshub commented 2 years ago

@EinarUeland I think there are two major things the status message should accomplish and it is

  1. Let Flotilla know that it is able to reach the ISAR instance (so the ISAR instance is running)
  2. Let Flotilla know that ISAR is able to reach the robot (this requires a function in the robot interface with a "ping" functionality I think)

So in essence I think the status message should accomplish those things.

Other things to include

aeshub commented 2 years ago
aeshub commented 1 year ago

This issue has automatically been marked as stale as there has been no activity for 60 days.