Coverage Control Library
|
We will organize files in a workspace directory: ${CoverageControl_ws}
(e.g., ~/CoverageControl_ws).
Download and extract the file lpac_CoverageControl.tar.gz
to the workspace directory. The file can be downloaded from the repository releases.
lpac
in the workspace directory. The directory structure is as follows:
There are two ways to classes for dataset generation located in python/data_generation/
simple_data_generation.py
data_generation.py
They are similar, except that data_generation.py
splits the dataset into training, validation, and test sets.
To generate a dataset, run the following command:
data_params.toml
file is also provided in the params
directory of the repository. See the file for details on the parameters. The class will use a coverage_control_params.toml
configuration file to generate environments and then use the ClairvoyantCVT
algorithm to generate the dataset.
The simple_data_generation.py
is useful for generating a large dataset in parts and then combining them into a single dataset. See python/utils/process_data.sh
and python/utils/dataset_utils.py
for tools to process and combine datasets.
To train the LPAC model, run the following command:
learning_params.toml
file is also provided in the params
directory of the repository. See the file for details on the parameters.
There are two scripts for evaluation located in python/evaluators/
eval_single_env.py
evaluates a single environment and eval.py
evaluates multiple environments.
To evaluate a trained model, run the following command:
eval.toml
and eval_single.toml
files are also provided in the params
directory of the repository.