Skip to main content

Python Library for Robot Control

Project description

[![PyPI](https://img.shields.io/pypi/v/pypot.svg)](https://pypi.python.org/pypi/pypot/) [![Build Status](https://travis-ci.org/poppy-project/pypot.svg?branch=master)](https://travis-ci.org/poppy-project/pypot) [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.13941.svg)](https://doi.org/10.5281/zenodo.13941)

# Pypot: A Python lib for Dynamixel motors control

Pypot is a library developed in the [inria FLOWERS](https://flowers.inria.fr/) team to make it easy and fast to control custom robots based on dynamixel motors. This framework provides different levels of abstraction corresponding to different types of use. More precisely, you can use pypot to:

  • directly control robotis motors (both protocol v1 and v2 are supported) through a USB2serial device,

  • define the structure of your particular robot and control it through high-level commands,

  • define primitives and easily combine them to create complex behavior.

Pypot has been entirely written in Python to allow for fast development, easy deployment and quick scripting by non-necessary expert developers. It can also benefits from the scientific and machine learning libraries existing in Python. The serial communication is handled through the standard library and thus allows for rather high performance (10ms sensorimotor loop). It is crossed-platform and has been tested on Linux, Windows and Mac OS.

Pypot is also compatible with the [V-REP simulator](http://www.coppeliarobotics.com). This allows you to seamlessly switch from a real robot to its simulated equivalent without having to modify your code.

Finally, it has been developed to permit an easy and fast extension to other types of motors and sensors.

## The Poppy-project: open source

Pypot is part of the [Poppy project](http://www.poppy-project.org) aiming at developing robotic creations that are easy to build, customize, deploy, and share. It promotes open-source by sharing hardware, software, and web tools.

At the moment we already proposed a few Poppy Creatures:

![Poppy Humanoid](./doc/poppy-creatures.jpg)

All those creatures are based on a combination of standard dynamixel actuators, 3D printed parts and open-source electronics such as Arduino boards. Both the hardware (3D models, electronics…) and software can be freely used, modified and duplicated.

## Documentation

The full pypot documentation on a html format can be found [here](http://poppy-project.github.io/pypot/). It provides tutorials, examples and a complete API.

The documentation is slowly moving toward [Jupyter Notebooks](http://jupyter.org) are they are such a powerful tool for writing and sharing tutorials, experiments or pedagogical contents.

They can be found [here](https://github.com/poppy-project/pypot/tree/master/samples/notebooks#notebooks-everywhere) with a detailed explanation on how they can be used, installed, and modified.

## Installation

Pypot is a library entirely written in [Python](https://www.python.org). It works with Python 2.7, 3.3+ and pypy-2.5. It is crossed platform and has been tested on Windows, Mac, Linux - yet specific usb to serial driver may be required depending on your system (see below).

Pypot also requires the following python package: * [pyserial](http://pyserial.sourceforge.net) 2.6 (or later) * [numpy](http://www.numpy.org) * [scipy](http://www.scipy.org/)

You can build and install pypot with the typically python way:

cd pypot python setup.py install

or directly via [pip](https://pip.pypa.io/en/latest/index.html):

pip install pypot

You will also have to install the driver for the USB2serial port. There are a few devices that have been tested with pypot that could be used:

  • USB2AX - this device is designed to manage TTL communication only

  • USB2Dynamixel - this device can manage both TTL and RS485 communication.

  • [Pixl board](https://github.com/poppy-project/pixl) for RaspberryPi

For more details on the installation procedure, please refer to the [installation section](http://poppy-project.github.io/pypot/intro.html#installation) of the documentation.

## Roadmap

The roadmap of the project can be found [here](https://github.com/poppy-project/pypot/blob/master/roadmap.md).

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

pypot-3.0.4.tar.gz (399.1 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pypot-3.0.4-py3.6.egg (611.5 kB view details)

Uploaded Egg

pypot-3.0.4-py3.5.egg (616.9 kB view details)

Uploaded Egg

pypot-3.0.4-py3-none-any.whl (605.9 kB view details)

Uploaded Python 3

pypot-3.0.4-py2.7.egg (602.2 kB view details)

Uploaded Egg

pypot-3.0.4-py2-none-any.whl (428.2 kB view details)

Uploaded Python 2

File details

Details for the file pypot-3.0.4.tar.gz.

File metadata

  • Download URL: pypot-3.0.4.tar.gz
  • Upload date:
  • Size: 399.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pypot-3.0.4.tar.gz
Algorithm Hash digest
SHA256 56e443252e96126150a272e3a0bed70633ae788d221c424cec0e59750f594bc1
MD5 2eaa8f3e05a9ede075a741fa2342b2da
BLAKE2b-256 4b99690a808b2af04232c8f02517682a9525a1a7ce2edd5b2e2e6e4de141ee8c

See more details on using hashes here.

File details

Details for the file pypot-3.0.4-py3.6.egg.

File metadata

  • Download URL: pypot-3.0.4-py3.6.egg
  • Upload date:
  • Size: 611.5 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pypot-3.0.4-py3.6.egg
Algorithm Hash digest
SHA256 5e423a0886bb1501cd67bd27b55084813bd2482ff165bc567f45ec7ffad0a0e2
MD5 04e8f3056f0872cfb2cad7a25d139b93
BLAKE2b-256 14f5a9e4ba7cc675e56350c03a7e7dd0d3acb9cdb05adb472d47690f89b36bf4

See more details on using hashes here.

File details

Details for the file pypot-3.0.4-py3.5.egg.

File metadata

  • Download URL: pypot-3.0.4-py3.5.egg
  • Upload date:
  • Size: 616.9 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pypot-3.0.4-py3.5.egg
Algorithm Hash digest
SHA256 97e2946a10eac72beb23731208d990b969082f2d1471bc1ab4439623412dba9f
MD5 ac7a06fb40aaf4b4e413d4d6f50487a5
BLAKE2b-256 6b83a3be6ec26d193f2d6b1cc6beadc461d970f360515b6838c2b95b7cf8c617

See more details on using hashes here.

File details

Details for the file pypot-3.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for pypot-3.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f84fb97913cd95c4aa490677d88383eee136a5d6bc779204cb4668bfb1aba8b1
MD5 407795c970ff03ae3d3e6789e1fc8606
BLAKE2b-256 6f1d1107a959181d924a2b39b41ce450d032b6752fcb8329a0a63b7aee9ee7c0

See more details on using hashes here.

File details

Details for the file pypot-3.0.4-py2.7.egg.

File metadata

  • Download URL: pypot-3.0.4-py2.7.egg
  • Upload date:
  • Size: 602.2 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pypot-3.0.4-py2.7.egg
Algorithm Hash digest
SHA256 326cdbc91a9420ca69abe75a387b7cf1beb92d4e61ce67497ba26539b9f8821b
MD5 94e3d66cbe1d2b22f4d601911a907da8
BLAKE2b-256 1ed73fa62d5ad11df1b980656cc5edc907668ee9668e916ca8f1d11bce7dc1e2

See more details on using hashes here.

File details

Details for the file pypot-3.0.4-py2-none-any.whl.

File metadata

File hashes

Hashes for pypot-3.0.4-py2-none-any.whl
Algorithm Hash digest
SHA256 c0f21b1f2f8c8a6f3d925266795fae3db4fb7659af87192d85852c7e8f0f1ff3
MD5 91f9a9ad31365a413fa572a511ddb3f0
BLAKE2b-256 207c62cb5b0cb1e9ff5a3ea5b1eb3faa6d0f23eae64ce03be0a6a7ecc0edfcdd

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