This repository contains a python script that helps with the creation of APP-11(E) reports for the REPMUS 2023 exercise.
Warning
This script was created very quickly and with a very limited understanding of the APP-11(E) specification. It very likely contains some inaccuracies or bugs. It definitely contains some rather sketchy simplifications and quick workarounds. It is a good idea to check that the reports generated by the script are correct, and to make corrections where necessary.
Warning
This script has only been tested on Linux Debian 11 (Bullseye) - it is unlikely it will work properly on other platforms without requiring some modifications.
Note
This script was created for EvoLogics GmbH use. As such, it is tailored to the data formats we use internally, and it is probably not useful to external users in its current form.
You will need Python 3.6 or greater with the following libraries:
The script uses data contained in 3 files to generate the output (see sample/
for an example):
parameters.ini
:
Contains general information about the reports you wish to generate (originator ID, message serial numbers, detection probabilities, etc...)EstimatedState.csv
:
Contains data about the state of the vehicle during the survey. This format is specific to LSTS DUNE, and is created when theEstimatedState
logs are exported as csv file in Neptus.Mines.csv
:
Contains data about the mine detections during the survey.
- Create a directory in which you wish the reports to be generated.
- Add the
parameters.ini
,EstimatedState.csv
andMines.csv
files containing the decription of your data (as described above) to this directory. If you do not have EsimatedState or Mines data, create empty files. - Run the script
generate.py
with as arguments (see also-h
for details):- the type of report you want to create.
- the path of the directory you just created.
After running the script, the report(s) should be generated in the directory you created.
For example, the following will generate a CPT
(complete) report in the ~/tmp
directory:
$ generate.py -t complete -d ~/tmp