9 Commits

Author SHA1 Message Date
lhumphrey
e6027e2958 Changes to fix examples/06_AutomationDiagram (#10)
* Example Spark service

* Version 1 of Example_Spark_Service. Minor formatting updates to other Ada files.

* Deleted session files. Added changes to uxas_ada.adb

* Restoring sessions files and adding new session file for example_spark_service

* Fixes to XML files for examples/06_AutomationDiagram

* Reverting accidental changes to examples/06_AutomationDiagram/SendMessagesService_cfg.xml

* Reverting accidental changes to examples/06_AutomationDiagram/SendMessagesService_cfg.xml
2020-08-28 15:40:17 -04:00
M. Anthony Aiello
360ef3d018 Merge remote-tracking branch 'afrl/develop' into ada 2020-07-23 10:49:36 -04:00
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
lhumphrey
a34d4a6e68 Simple fix to OverwatchTaskService.cpp to correct detection of message type. Fixes to example 06 to accomodate changes to ImpactPointSearchTask 2020-05-14 10:34:40 -04:00
Steve Rasmussen
c15d9ffa56 - changed elevation algle to negative 2018-02-09 09:26:16 -05:00
laura.humphrey
1abc96017c MessagesToSend for example 06_AutomationDiagram 2017-12-04 15:50:06 -05:00
laura.humphrey
1199142c01 Minor edit to AutomationDiagramScenario.xml 2017-07-31 14:19:07 -04:00
laura.humphrey
17cd603d91 Filled out README.md. Minor edits to AutomationDiagramDataService and scenario file AutomationDiagramScenario.xml. 2017-07-31 14:01:51 -04:00
laura.humphrey
f266cf01b6 Quickly saving progress on new code for AutomationDiagramDataService, amase2uxas, and example/06_AutomationDiagram. 2017-07-28 14:03:06 -04:00