Skip to content

Latest commit

 

History

History
95 lines (67 loc) · 1.99 KB

README.md

File metadata and controls

95 lines (67 loc) · 1.99 KB

Codacy Badge Build Status codecov

Heterogeneous Multi-Robots Systems Planner

Env Depencies

python 3, pip

Used IDE: vscode, plugin python

Instal pipenv

pipenv easy the process of managing python dependencies

PIP

$ pip install pyenv

Alternatively, macOS brew

$ brew install pipenv 

Install dependencies

Inside the project folder (after clone)

$ pyenv install 3.8.2
$ pip install pipenv
$ pipenv install
$ pipenv shell
(gmrs env) % pipenv install --dev

Run

Select the exec shell

$ pipenv shell

Then, Execute Simulation

$ python ./simulator/run.py

Test

Tests should be put on /tests folder and are executed with the following command.

 $ pytest -v --cov .

Linter

 $ flake8 --statistics

Dependency

Add New Dependency

To add new dependencies use the following command.

$ pipenv install [name]

This command will add the dependency to the Pipfile and Pipfile.lock assuring that the execution can be reproduced in another environment (after dependencies are updated with pipenv install command )

Add New Dev Dependency

Same as previous dependencies, but for development libraries such as the ones used for test.

$ pipenv install [name] --dev

Note that other systems after pulling updates will need a reexecution of pipenv install --dev