Skip to content

Pause and wait for human approval and/or input #33

@arthursloan

Description

@arthursloan

A sub issue for Issue #32
Right now, ARES OS does support pausing campaign execution until the user clicks continue. For better human interoperability several things are needed:

  1. From a UX perspective, the UI needs to make it clear that ARES OS is waiting on the user, ideally with a dialog box of some sort with a message that can be configure when the user sets up the campaign step. e.g. The user can set up the box to say "Clear the microscope stage before proceeding"
  2. The extension of waiting for user approval is waiting for some user input, and then using this input. This need could arise at any point in the execution loop, and may or may not be used as part of the the planner or the analyzer calls. A few illustrative examples: A. The serial number of a sample substrate that should be logged with the experimental data, but does not influence any planner or analyzer calculations. B. A reference value needed for the analysis that varies sample to sample and cannot be measure as part of the loop, such as a baseline mass measurement. C. A value from some external analysis program that either cannot be, or has not yet been wrapped in an ARES compatible service, but is needed for planning.
  3. This intersects with Issue Interactive data uploads at arbitrary points in the autonomy loop #35 , but these inputs could also be more complex than just a simple numerical or text entry and could also support uploading tabulated data, like a CSV of the measurement from a spectrometer

My initial idea of how to do this is to treat it like pseudo-device that the user configures when they put into the campaign plan. The user could add the dialog box message, as well as the expected outputs from the "device". The device then only returns when the user has filled out all the requested fields and clicked continue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions