afrl-rq / OpenUxAS

Project for multi-UAV cooperative decision making
Other
50 stars 24 forks source link

Fix #60: improve run-example OpenAMASE resolution #67

Closed manthonyaiello closed 1 year ago

manthonyaiello commented 1 year ago

This commit refactors the development-directory resolution for LmcpGen and OpenAMASE. The functions are moved into paths.py so they can be shared across scripts; the associated command-line arguments are also moved to paths.py and encapsulated in new functions.

run_lmcpgen.py is updated to use these new functions correctly.

run_example.py is also updated to use the resolution of OpenAMASE. This makes the behavior consistent between run-example and run-lmcpgen.

Resolves issue #60.

manthonyaiello commented 1 year ago

Testing note: you need to rm -rf .vpython because the uxas python module changed and needs to be reinstalled.