Skip to main content

Python API with evolutionary computation and reinforcement learning algorithms for Khepera simulation engine

Project description

KhepPy

KhepPy stands for Khepera Python and is Python API with evolutionary computation and reinforcement learning algorithms for Khepera simulation engine. More information about the engine itself can be found here.

The idea behind KhepPy is to provide algorithms able to generate high-quality steering programs for Khepera robots.

Getting started

The procedure to run KhepPy is fast and very easy.

Prerequisites

Python requirements

  • Python 3
  • NumPy
  • (in future) Tensorflow

Khepera simulation engine binaries

Build from source: project page.
Or use precompiled binaries:

  • Linux (tested on Ubuntu 14.04)
  • OS X/macOS (tested on macOS Sierra/High Sierra)
  • Windows (tested on Windows 7/8)

Installing

  1. Download or clone this repository to local directory of your choice.
  2. Add main project directory to PYTHONPATH if you want to use KhepPy in external projects.
    export PYTHONPATH="${PYTHONPATH}:/your/directory/kheppy"
    
    Alternatively, place main project directory in site-packages.
  3. Configure KHEPERA_LIB environment variable to point to Khepera simulation engine binaries.
    export KHEPERA_LIB="/your/path/to/the/engine"
    
    If you use PyCharm, go to Run > Edit Configurations... and add KHEPERA_LIB variable to Environment variables list.

Test installation

For basic verification run:

python -c 'from kheppy.core import Simulation'

No output means kheppy.core should be ready to use.

Examples

Now you can run some examples to familiarize yourself with KhepPy.

License

This project is licensed under the MIT License - see the LICENSE.txt file for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kheppy-0.1.0.tar.gz (15.4 kB view details)

Uploaded Source

File details

Details for the file kheppy-0.1.0.tar.gz.

File metadata

  • Download URL: kheppy-0.1.0.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for kheppy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8ddda72c96dbdfefdc6fef8ed84de596b03667a679c055d9369343d990380718
MD5 d02f20f4f6d4b403f0083e1fbe9e0f5e
BLAKE2b-256 8f7574dd629577f275eae9238f1c8db462f07b725182138d265569f1f442e4e0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page