This repository contains code for simulating and analyzing Braitenberg vehicles with on-board stimuli sources.
- Python 3
- Matplotlib 3.5+ (for plots)
- PyGame (installable with pip)
multiple_sweeps.py to generate the main figures in the paper (uncomment
sections as desired).
demo_interactive.py to interact with a collective using a single
controllable very bright agent.
generate_demo.py and then
play_demo.py after changing relevant settings
at the top of the files to generate a video of a single run.
Configuration files are in yaml format, in the
Other files contain functionality that may be useful for running different types of simulations or improving the simulator:
robots.pycontains the agent model implementation
utils.pycontains geometric and other helper functions
param_sweep.pycontains functions for running parameter sweeps
unit_test.pycontains tests for the simulator
Jack A. Defay Alli Nilles