12 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
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
c15d9ffa56 - changed elevation algle to negative 2018-02-09 09:26:16 -05:00
Derek Kingston
0d1a700155 Confirmed ZMQ upgrade passes test on all platforms 2017-12-20 16:58:36 -05:00
derekkingston
ed99580ded Distributed cooperation example instructions for Windows 2017-12-20 16:46:26 -05:00
derek.kingston
51724d3ae4 Updated Distributed Cooperation example with proper vehicle IDs 2017-06-13 09:55:30 -04:00
derek.kingston
eb9761e4d0 Added new test to ensure eligible entity handling
- Test #4 in AutomationRequest tests. Currently commented out.
   Waiting until fix passes test for complete push to general.
- Fixed double-nested XML tags in Distributed Cooperation
   example.
- Consistency updates for destructor logging in 00_TaskTemplate
   and AssignmentCoordinatorTaskService
- Removed old Visual Studio project files in Utilities folder
2017-06-12 13:01:19 -04:00
Derek Kingston
46ccb05185 Updated Distributed Cooperation Example for use with AMASE 2017-06-07 14:26:31 -04:00
Adam C. Foltzer
6602e0fe73 add Windows batch scripts for the examples 2017-05-25 15:46:56 -07:00
Derek Kingston
b4221f3512 Updated Automation Diagram code for Python3 compatability 2017-05-11 16:53:32 -04:00
derek.kingston
0b67be63dc Project for multi-UAV cooperative decision making 2017-05-07 11:03:58 -04:00