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.3.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.3-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dynamixel_python-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 ae8741fa01f36c541fd0a94a37fabe5ff647d57d7a6c069750b9a654c51700b4
MD5 c947b56178d26c3adf011b663635dd75
BLAKE2b-256 40af79fc76dfdcc3d7cfeef745d06cc10395ff070782cbc9572ff6d9b6b2211c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for dynamixel_python-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4081ca43cd12fd866ffe4f9b5f945a6a5c5330a2fb15e7a25f8d6e2ee6b45b03
MD5 0b1fe0bd465e9a1cd004db58e0f389d3
BLAKE2b-256 7616a407983f37b1daa3aa7e4a3fa69590f17815c87fa4c4c35533ffbacb66e1

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