Skip to content

Commit

Permalink
ACU Exercisor mode (#447)
Browse files Browse the repository at this point in the history
* ACUAgent: make monitor process more tolerant to ACU dropout

* ACUAgent: exercisor for grid testing

* ACU: use absolute imports

* ACUAgent: (re-)enable UDP stream automatically

This requires latest soaculib -- June 2, 2023.

* ACU: Clean up in response to PR

* ACU: Update docs for changed acu config flag

---------

Co-authored-by: Brian Koopman <[email protected]>
  • Loading branch information
mhasself and BrianJKoopman authored Jun 8, 2023
1 parent 1ceebe1 commit b117bc5
Show file tree
Hide file tree
Showing 3 changed files with 654 additions and 43 deletions.
36 changes: 35 additions & 1 deletion docs/agents/acu_agent.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ file. An example configuration block using all availabile arguments is below::

{'agent-class': 'ACUAgent',
'instance-id': 'acu-satp1',
'arguments': [['--acu_config', 'satp1']],
'arguments': [['--acu-config', 'satp1']],
}

soaculib
Expand Down Expand Up @@ -88,6 +88,40 @@ example configuration block is below::
}


Exercisor Mode
--------------

The agent can run itself through various motion patterns, using the
Process ``exercise``. This process is only visible if the agent is
invoked with the ``--exercise-plan`` argument and a path to the
exercise plan config file. Here is an example config file:

.. code-block:: yaml
satp1:
settings:
use_boresight: false
steps:
- type: 'elnod'
repeat: 2
- type: 'grid'
duration: 3600
- type: 'schedule'
files:
- /path/to/schedule1.txt
- /path/to/schedule2.txt
duration: 3600
dwell_time: 600
- type: 'grease'
duration: 900
Note that the root level may contain multiple entries; the key
corresponds to the ACU config block name, which would correspond to
the ACU agent ``--acu-config`` argument.

The exercisor writes some diagnostic and timing information to a feed
called ``activity``.

Agent API
---------

Expand Down
Loading

0 comments on commit b117bc5

Please sign in to comment.