Skip to content

KumarRobotics/CoverageControl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

392 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoverageControl

Provides environment for Coverage Control problem.

Dependencies

System packages:

- CUDA nvcc
- Boost
- OpenMP
- gnuplot-nox

Python packages: See environment.yml

Installation

Workspace directory: ${HOME}/CoverageControl_ws. Add the following lines to your .bashrc file and then source ~/.bashrc or open a new terminal:

export COVERAGECONTROL_WS="${HOME}/CoverageControl_ws/"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${COVERAGECONTROL_WS}/install/lib/"

May need to add the following as well if not using pip to install python package:

export PYTHONPATH="${PYTHONPATH}:${COVERAGECONTROL_WS}/install/lib/"

Clone the repository:

mkdir -p ${COVERAGECONTROL_WS}/src
git clone [email protected]:AgarwalSaurav/CoverageControl.git ${COVERAGECONTROL_WS}/src/CoverageControl

Install C++ packages:

cd ${COVERAGECONTROL_WS}/src/CoverageControl/
bash setup.sh -i

Install python API (can be done within conda environment):

cd ${COVERAGECONTROL_WS}/src/CoverageControl
pip install .

Go to CoverageControl/core/scripts/python and check if the file coverage.py works. It contains minimal examples.

Update

When the backend C++ code updates:

cd ${COVERAGECONTROL_WS}/src/CoverageControl
git pull
bash setup.sh -u
pip install .

Uninstall

pip uninstall pyCoverageControl
rm -r ${COVERAGECONTROL_WS}/