Coverage Control Library
|
The library is available on PyPI and can be installed using pip
. It is recommended to install the library inside a virtual environment.
We need the following optional packages for visualization and video generation:
gnuplot
or gnuplot-nox
(for visualizing environment)ffmpeg
(for generating videos)On Ubuntu, these can be installed using the following command:
Docker images are available for the library with different configurations and versions.
We will organize files in a workspace directory: ${CoverageControl_ws}
(e.g., ~/CoverageControl_ws). The workspace directory is mounted to the docker container.
Add the following lines to your ${HOME}/.bashrc
file for convenience.
Clone the repository:
Container can be created using the script in utils/docker/create_container.sh
.
/workspace
. If the workspace directory was specified, it will be mounted to the container at the same location.
One can exit the container by typing exit
or pressing Ctrl+D
.
The container can be started again using the following command:
Flags:
-d <dir>
: The workspace directory-n <name>
: Name of the container (default: coverage-control-$USER
)--with-cuda
: With CUDA support--with-ros
: With ROS support--noble
: Ubuntu 24.04 NobleThe base image is agarwalsaurav/pytorch_base
with different tags for different versions and configurations.
Tags Suffix | Flags |
---|---|
jammy-torch2.5.1-cuda12.4.1-humble | --with-ros --with-cuda |
jammy-torch2.5.1-cuda12.4.1 | --with-cuda |
jammy-torch2.5.1-humble | --with-ros |
jammy-torch2.5.1 | None |
noble-torch2.5.1-cuda12.6.2-jazzy | --with-ros --with-cuda --noble |
noble-torch2.5.1-cuda12.6.2 | --with-cuda --noble |
noble-torch2.5.1-jazzy | --with-ros --noble |
noble-torch2.5.1 | --noble |
Install the library available on PyPI:
The following packages are required to build the library:
gnuplot-nox
and ffmpeg
are optional (but recommended) and only required for generating environment visualizations.Additional dependencies (generally already installed):
(Optional but recommended for GPU acceleration)
The package also supports GPU acceleration using CUDA. To enable this feature, the following additional packages are required:
cmake
(version 3.24 or higher)cuda
(version 11.8 or higher, 12.1 recommended)cmake
version can be installed from the official Kitware APT Repository.
We will organize files in a workspace directory: ${CoverageControl_ws}
(e.g., ~/CoverageControl_ws).
Add the following lines to your ~/.bashrc
file.
setup.sh
located in the root of the repository.
Option | Description |
---|---|
-d <dir> | The workspace directory |
--with-cuda | Build with CUDA support |
CGAL 5.6
, which is automatically installed from the official CGAL repository through CMake
.