Skip to main content

A simple library for communicating with Dynamixel motors

Project description

Dynamixel Python

Dynamixel-Python is a simple library for communicating with Dynamixel motors. Both dynamixel protocol 1.0 and 2.0 is supported.

[!WARNING] Currently this library is under active development and the public api is likely to change.

Installation

This repo aims to support legacy python versions. Currently python 3.8+ is supported.

pip install dynamixel-python

Quickstart

from dxl2 import DynamixelSerialV2

port = DynamixelSerialV2("/dev/ttyUSB0")

# connect before use
port.connect()

info = port.ping(10)

# torque enable
port.write(dxl_id=10, address=64, length=1, value=1)

# move motors 1 and 2 to position 100
port.sync_write(dxl_ids=[1, 2], address=116, length=4, value=100)

# disconnect after use
port.disconnect()

All instructions are available as methods of DynamixelSerialV2 or DynamixelSerialV1 class.

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

dynamixel_python-0.0.5.tar.gz (10.6 kB view details)

Uploaded Source

Built Distribution

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

dynamixel_python-0.0.5-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file dynamixel_python-0.0.5.tar.gz.

File metadata

  • Download URL: dynamixel_python-0.0.5.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dynamixel_python-0.0.5.tar.gz
Algorithm Hash digest
SHA256 4d526a46476015bbc4feab8032550ff8aee53b4644ef779b21ab6073fb7e6397
MD5 41f13f94d3354dc9a0aea22c6074ce13
BLAKE2b-256 de715611c00c9ea2936ecc5883dca36f2d5517b5ef90db9f24bd923a2e096a31

See more details on using hashes here.

File details

Details for the file dynamixel_python-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for dynamixel_python-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 31161a11e340c373bf484a2bc1b91ffb2c501a8cbdbca32181cef7b79090d3b0
MD5 13f08ebe028870809e9f72b067b94f86
BLAKE2b-256 e1055d9a723e0de26e34f2aa6e616b6add6eb0afffde0cd7cba682b14aba0529

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