/Passive_Walker

Primary LanguagePythonMIT LicenseMIT

Passive Walker Algorithm

This software is a genetic algorithm written in Python that finds a possible solution for the passive walker problem.
This problem consists in finding the best size, width and angle for the legs, so that the walker can complete the path. All those attributes are calculated by using an implementation of crossover, mutation and artificial selection.

Getting Started

This software can be run by using the Python 3 environment, all the libraries can be installed with pip.

Prerequisites and Installation

In order to run this software, you need to install the following libraries:

  • Pymunk
  • PyGame

It can be done as follow:

sudo pip install pymunk && sudo pip install pygame

Running

To run this software, please execute the following command:

python Passive_walker.py

All the configuration can be done in this file as well.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.
Feel free to copy, share and improve this software.