85 Commits

Author SHA1 Message Date
lhumphrey
289d28022b example template 2021-04-01 15:38:23 -04:00
M. Anthony Aiello
9f7d8f6388 Merge branch 'develop' of https://github.com/afrl-rq/OpenUxAS into integration 2020-09-01 14:26:02 -04:00
Joffrey Huguet
029aa02386 Add an example featuring Ada implementation of Assignment Tree Branch Bound 2020-08-31 15:55:19 +02:00
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
lhumphrey
b57d70211e Adding Example_Spark_Service (#8)
* 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
2020-08-26 14:15:09 -04:00
M. Anthony Aiello
360ef3d018 Merge remote-tracking branch 'afrl/develop' into ada 2020-07-23 10:49:36 -04:00
Joffrey Huguet
4757d3dbc5 Add test case with ARV and RA service in Ada 2020-05-29 15:27:12 +02:00
lhumphrey
40b1412d08 Updated task message for examples/99_Tasks/RendezvousTask to match updated LMCP message definition 2020-05-15 15:07:22 -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
f4e3d9bc37 Merge pull request #81 from jonsteingass/TaskExamples
Task examples
2018-12-10 14:48:32 -05:00
Jon
35a2f620bd AMASE scripts point to config files in 99_Tasks folder 2018-10-15 10:29:20 -04:00
Jon
5956906a51 remvoed extra vehicle in watch task examples 2018-10-15 10:24:54 -04:00
Steve
0637e307d4 Merge pull request #71 from jonsteingass/TaskExamples
Task examples
2018-10-11 13:46:21 -04:00
Jon
22e979ce84 renamed tasks folder to 99_Tasks 2018-10-01 12:38:42 -04:00
steve rasmussen
987cfc1c7c added python script to run AMASE 2018-09-22 10:54:09 -04:00
steve rasmussen
176a31d4c0 added python script to run the example using Docker 2018-09-22 10:53:50 -04:00
steve rasmussen
a48d475681 added python script to run UxAS with Docker 2018-09-22 10:33:56 -04:00
steve rasmussen
ce11901032 add python script to run AMASE 2018-09-22 10:33:23 -04:00
steve rasmussen
db92c33620 change network configurations to '*' to be compatable with docker 2018-09-22 10:32:50 -04:00
steve rasmussen
d787750940 added the python script to the readme 2018-09-22 08:50:53 -04:00
steve rasmussen
0c825bc412 added python start-up script 2018-09-22 08:47:43 -04:00
steve rasmussen
726a69359f added docker startup python script 2018-09-22 08:45:19 -04:00
steve rasmussen
23d2b2d553 added run duration of 10 seconds 2018-09-22 08:44:33 -04:00
Jon
789cccb081 added/updated readme 2018-08-21 10:07:16 -04:00