Flock AI
About
This repository contains
- Flock AI: A machine learning python library which is designed as a plugin for webots.
- Webots simulations: Sample simulations that demonstrate the usage of Flock AI
Webots
- Nightly Version: r2020b-rev2
- Release: R2020b-rev1
- Installation steps per OS can be found here.
Development
Prerequisites
- Set up the webots required enviroment variables
- Create a
.pypirc
file which will contain the pypi credentials:
[distutils]
index-servers= pypi
[pypi]
repository = https://upload.pypi.org/legacy/
username = the_username
password = the_password
Running the first time
-
make config
Copies the.pypirc
to your user home folder and allows automated uploads using twine. -
make requirements
Installs project requirements. -
make package
Generates the new package under thedist/
directory. -
make upload
Uploads the package in the specified pypi repository. -
make install
Installs Flock AI in Webots home folder to be used as a library. -
make clean
(Optional) Cleans the build directory. This step should be done before rebuilding the package.
Development pipelines
-
make
Clean previous build files, builds new package, uploads to pypi. -
make install
Installs new version of Flock AI in Webots home folder to be used as a library.