8 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
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
Adam C. Foltzer
6602e0fe73 add Windows batch scripts for the examples 2017-05-25 15:46:56 -07:00
derek.kingston
3a88954a1e Made examples consistent, added example output to .gitignore 2017-05-07 12:06:52 -04:00
derek.kingston
0b67be63dc Project for multi-UAV cooperative decision making 2017-05-07 11:03:58 -04:00