6 Commits

Author SHA1 Message Date
M. Anthony Aiello
04b71a337d Feature/create run example (#40)
* Intermediate progress

* Update run-example

Delaying while OpenAMASE opens appears to be important. It takes a while for OpenAMASE to actually open, and the user is supposed to click on the run button before OpenUxAS instances start. The five seconds offered by some examples is insufficient, and may not be guaranteed in any case.

We make the delay configurable, so that the user can remove or adjust it, as needed.

We also make sure that we kill off forked subprocesses and report if we're unable to do so.

* Rename the Ada Waterway Search example

Suggesting this naming convention so that we can create other examples that use the Ada UxAS more easily.

* Add two additional configs

Configs for Examples 03 and 05

* Update config for example 03

This should work out of the box on modern Linux.

* Add config-driven delay after OpenAMASE starts

This is important for the Ada example, although it may be related to the way in which we implemented it.

* Enhance run-example

- Fix error when OpenAMASE does not run
- Handle Ctrl-C gracefully (shut down all subprocesses)
- Allow a relative or absolute path to the example to be specified - this is nice, because then tab-complete works

* Add missing example configs

Also make sure that each ends with a newline (nice for `cat`).

* Use Test_SimulationTime service to sync with AMASE

Removes the need for any timeout to start UxAS instances.

* Fix example 05_AssignTasks

Adding the Test_SimulationTime service + a longer timeout on task assignment allows the example to run correctly.
2020-05-14 13:49:06 -04:00
James Hamil
4d062cb1f6 Update path in AMASE script for 05_AssignTasks example 2017-06-27 09:29:44 -04:00
laura.humphrey
2ddf1c66e9 Modified example 05_AssignTasks. Removed most old files, replaced them with new. Added a walkthrough for using the AMASE Scenario Tool to build a scenario for UxAS and for running the example. 2017-06-26 15:15:54 -04:00
Adam C. Foltzer
6602e0fe73 add Windows batch scripts for the examples 2017-05-25 15:46:56 -07:00
Derek Kingston
f9fb4acdb6 Cleaned up Example 05 2017-05-16 14:45:50 -04:00
laura.humphrey
0cd634b4c1 Including a new example that demonstrates lots of tasks and uses the AutomationDiagramDataService to plot them. 2017-05-16 12:37:14 -04:00