Skip to content

Latest commit

 

History

History
38 lines (34 loc) · 849 Bytes

File metadata and controls

38 lines (34 loc) · 849 Bytes

Flocking

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.

Getting Started

Setup

Create a virtual Python environment:

python3 -m venv mesa

Activate the virtual environment:

cd mesa
source bin/activate

Get the source code:

git clone https://github.com/tropappar/flocking.git

Install requirements:

cd flocking
pip3 install -r requirements.txt

Run

Switch to the folder containing the virtual environment and activate it:

cd mesa
source bin/activate

Run Mesa in the virtual environment:

cd flocking
mesa runserver

This opens the visualization in your default web browser.