Skip to content

tropappar/flocking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A Mesa implementation of flocking agents inspired by https://doi.org/10.1109/IROS.2014.6943105.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published