A Mesa implementation of flocking agents. The agent behavior is inspired by https://doi.org/10.1109/IROS.2014.6943105. The implementation is based on the boid_flockers example of the Mesa project.
Create a virtual Python environment:
python3 -m venv mesaActivate the virtual environment:
cd mesa
source bin/activateGet the source code:
git clone https://github.com/tropappar/flocking.gitInstall requirements:
cd flocking
pip3 install -r requirements.txtSwitch to the folder containing the virtual environment and activate it:
cd mesa
source bin/activateRun Mesa in the virtual environment:
cd flocking
mesa runserverThis opens the visualization in your default web browser.