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

Only allow selecting an available robot when scheduling a mission #1556

Closed anetteu closed 3 months ago

anetteu commented 7 months ago

Describe the improvement you would like to see When scheduling a mission, a pop up with a drop down appears to select a robot. Currently, it is possible to select robots that are not available as they are not on the correct deck. I suggest to include all robots on the asset in the drop down menu, but only make the ones available for that particular mission selectable.

How will this change existing functionality? Provide more information and context to the robots when selecting them for a mission.

How will this improvement affect the current Threat Model? Leave blank for maintainers to fill out if you are uncertain about this.

andchiind commented 7 months ago

This might be difficult to do currently, as robots do not have an area value until they are localised, and they are only localised when running missions.

Eddasol commented 7 months ago

This can potentially be confusing if the user is expecting to see/select a specific robot and then it's just missing from the list without providing information about why. Isn't it better to allow the user to select wrong and instead give them a dialog about why its not possible (Conflicting deck dialog)? Alternatively, (not sure if possible) disable none-available robots in the drop-down and use tooltip to provide information if a user still tries to select it.

anetteu commented 7 months ago

Yes, disable non-available robots was what I was thinking, the error is already there. For assets with several decks and robots the user has to try and fail to select the correct robot.

It can also be an option to display the location of each robot on the robot cards?

It is related to #1011

aeshub commented 4 months ago

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

mrica-equinor commented 4 months ago

Filter robots that are available or busy