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.19

  • Full support of MX-28 servo with protocol 1.0

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.

Files for pydxl, version 2019.3.19
Filename, size File type Python version Upload date Hashes
Filename, size pydxl-2019.3.19-py2.py3-none-any.whl (9.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size pydxl-2019.3.19.tar.gz (19.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page