Skip to main content

Python package to use Dynamixel servos through a serial interface.

Project description

Python Dynamixel

Python package to use Dynamixel servos through a serial interface (unofficial, easier SDK).

https://img.shields.io/pypi/v/pydxl.svg https://img.shields.io/pypi/l/pydxl.svg https://travis-ci.com/vpoulailleau/pydxl.svg?branch=master Documentation Status Downloads Coverage Status Maintainability Maintainability

Post-creation

  • read the docs

    • ça a buggé, j’ai créé le projet à la main, et ensuite tout a fonctionné

  • pepy.tech

Documentation

The full documentation can be read at https://pydxl.readthedocs.io.

Example code:

import time

from pydxl import Mx28, SerialLink

link = SerialLink(
    device="/dev/ttyUSB0", baudrate=1_000_000, protocol_version=1.0
)

servo = Mx28(identifier=1, serial_link=link)
servo.ping()
servo.led = True

servo.torque_enable = True
servo.goal_position = 2000
print(servo.goal_position)
time.sleep(3)
servo.goal_position = 1500
time.sleep(3)
servo.torque_enable = False

link.close()

Features

  • Use protocol 1.0 through a serial link, known to work with:

    • U2D2

  • Support servos:

    • MX-28

  • TODO: implement protocol 2.0

  • TODO: add more servo types

License

BSD 3-Clause license, feel free to contribute: https://pydxl.readthedocs.io/en/latest/contributing.html.

History

2019.3.17 (2019-03-18)

  • First release on PyPI.

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

pydxl-2019.3.18.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

pydxl-2019.3.18-py2.py3-none-any.whl (8.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pydxl-2019.3.18.tar.gz.

File metadata

  • Download URL: pydxl-2019.3.18.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for pydxl-2019.3.18.tar.gz
Algorithm Hash digest
SHA256 d6e9e01a5548c809bb31611dbdaf6e917ca171e120ade2898aafae0160b656e2
MD5 1b47f4093ab525d1331522c65746ea04
BLAKE2b-256 20f489d1b20af334105be89cc5bc39cc0d2d056af2946a237936018014cedd3d

See more details on using hashes here.

File details

Details for the file pydxl-2019.3.18-py2.py3-none-any.whl.

File metadata

  • Download URL: pydxl-2019.3.18-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for pydxl-2019.3.18-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 977afe2cb5c0b890ad86bf3681059bce78d95157b196613e6eef28349f655750
MD5 6dbaff0fcd04908830c352318590500f
BLAKE2b-256 34c93c0f2059420a634e72e6a4f2f6c259dad4eda13e0d9f9c234869887c0f06

See more details on using hashes here.

Supported by

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